Skip to content

Commit

Permalink
Merge pull request NixOS#277517 from trofi/python-hooks-test-fix-eval
Browse files Browse the repository at this point in the history
python/hooks: fix `test` attribute eval
  • Loading branch information
nikstur committed Dec 29, 2023
2 parents 8a4b3f2 + 089b731 commit 110315e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkgs/development/interpreters/python/hooks/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ self: dontUse: with self;

let
inherit (python) pythonOnBuildForHost;
inherit (pkgs) runCommand;
pythonInterpreter = pythonOnBuildForHost.interpreter;
pythonSitePackages = python.sitePackages;
pythonCheckInterpreter = python.interpreter;
Expand Down Expand Up @@ -67,7 +68,7 @@ in {
# Such conflicts don't happen within the standard nixpkgs python package
# set, but in downstream projects that build packages depending on other
# versions of this hook's dependencies.
passthru.tests = import ./pypa-build-hook-tests.nix {
passthru.tests = import ./pypa-build-hook-test.nix {
inherit pythonOnBuildForHost runCommand;
};
} ./pypa-build-hook.sh) {
Expand Down

0 comments on commit 110315e

Please sign in to comment.