python3.pkgs.pypaBuildHook: Fix passthru.tests

This commit is contained in:
adisbladis 2023-12-04 15:28:01 +13:00
parent d8eabc44c3
commit 48a49f76d7

View File

@ -68,8 +68,8 @@ 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-test.nix {
inherit pythonOnBuildForHost runCommand;
passthru.tests = callPackage ./pypa-build-hook-test.nix {
inherit pythonOnBuildForHost;
};
} ./pypa-build-hook.sh) {
inherit (pythonOnBuildForHost.pkgs) build;