buildPythonPackage: propagate setuptools
This commit is contained in:
parent
114ffa0d6c
commit
c6512f7df3
@ -62,10 +62,10 @@ if disabled then throw "${name} not supported for interpreter ${python.executabl
|
|||||||
] ++ buildInputs ++ pythonPath
|
] ++ buildInputs ++ pythonPath
|
||||||
++ (lib.optional (lib.hasSuffix "zip" attrs.src.name or "") unzip);
|
++ (lib.optional (lib.hasSuffix "zip" attrs.src.name or "") unzip);
|
||||||
|
|
||||||
# propagate python to active setup-hook in nix-shell
|
# propagate python/setuptools to active setup-hook in nix-shell
|
||||||
propagatedBuildInputs = propagatedBuildInputs ++ [ recursivePthLoader python ];
|
propagatedBuildInputs = propagatedBuildInputs ++ [ recursivePthLoader python setuptools ];
|
||||||
|
|
||||||
pythonPath = [ setuptools ] ++ pythonPath;
|
pythonPath = pythonPath;
|
||||||
|
|
||||||
configurePhase = attrs.configurePhase or ''
|
configurePhase = attrs.configurePhase or ''
|
||||||
runHook preConfigure
|
runHook preConfigure
|
||||||
|
Loading…
x
Reference in New Issue
Block a user