python: Use packages from previous stage in setup-hooks
This makes sense as these are tools we want to run at build time.
This commit is contained in:
parent
a6218c058b
commit
330d468002
@ -1,7 +1,6 @@
|
|||||||
# Hooks for building Python packages.
|
# Hooks for building Python packages.
|
||||||
{ python
|
{ python
|
||||||
, lib
|
, lib
|
||||||
, callPackage
|
|
||||||
, makeSetupHook
|
, makeSetupHook
|
||||||
, disabledIf
|
, disabledIf
|
||||||
, isPy3k
|
, isPy3k
|
||||||
@ -9,6 +8,7 @@
|
|||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
|
callPackage = python.pythonForBuild.pkgs.callPackage;
|
||||||
pythonInterpreter = python.pythonForBuild.interpreter;
|
pythonInterpreter = python.pythonForBuild.interpreter;
|
||||||
pythonSitePackages = python.sitePackages;
|
pythonSitePackages = python.sitePackages;
|
||||||
pythonCheckInterpreter = python.interpreter;
|
pythonCheckInterpreter = python.interpreter;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user