From 330d4680022c92d8893f926624e51480c9e254ee Mon Sep 17 00:00:00 2001 From: John Ericson Date: Wed, 18 Nov 2020 14:13:05 -0500 Subject: [PATCH] python: Use packages from previous stage in setup-hooks This makes sense as these are tools we want to run at build time. --- pkgs/development/interpreters/python/hooks/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/interpreters/python/hooks/default.nix b/pkgs/development/interpreters/python/hooks/default.nix index d14eb9cbb09d..456aea4c5d8c 100644 --- a/pkgs/development/interpreters/python/hooks/default.nix +++ b/pkgs/development/interpreters/python/hooks/default.nix @@ -1,7 +1,6 @@ # Hooks for building Python packages. { python , lib -, callPackage , makeSetupHook , disabledIf , isPy3k @@ -9,6 +8,7 @@ }: let + callPackage = python.pythonForBuild.pkgs.callPackage; pythonInterpreter = python.pythonForBuild.interpreter; pythonSitePackages = python.sitePackages; pythonCheckInterpreter = python.interpreter;