From ef3919fd948a230b7994b0ff8373b66d3b857988 Mon Sep 17 00:00:00 2001 From: Anish Lakhwara Date: Thu, 17 Mar 2022 15:04:58 +1000 Subject: [PATCH] trying to get module imports to work --- flake.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index c297cc8..08cbaaf 100644 --- a/flake.nix +++ b/flake.nix @@ -33,9 +33,12 @@ # maybe set more env-vars ''; }; - defaultPackage = pkgs.buildPythonPackage { + defaultPackage = pkgs.python3Packages.buildPythonPackage { # We should probably only call grab from main.py here - + pname = "basant"; + src = ./src; + version = "0.1"; + propagatedBuildInputs = [ python-with-my-packages ]; }; }); }