Skip to content

Commit

Permalink
buildPythonApplication: fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
yorickvP committed Apr 14, 2023
1 parent 3600996 commit fe37fe7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion python/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ python.pkgs.buildPythonPackage {
exampleEnv = python.withPackages (p: [ nix.python-bindings ]);
tests = {
example-buildPythonApplication = import ./examples/buildPythonApplication {
inherit nix system testScripts;
inherit nix system testScripts python;
};
};
shell = mkShell {
Expand Down
2 changes: 1 addition & 1 deletion python/examples/buildPythonApplication/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
overlays = [];
inherit system;
},
python ? pkgs.python3,
nix ? (import ../../..).default,
testScripts,
}:
let
python = pkgs.python3;
nixBindings = nix.python-bindings.override { inherit python; };
in python.pkgs.buildPythonApplication {
pname = "hello-nix";
Expand Down

0 comments on commit fe37fe7

Please sign in to comment.