python-modules: remove long non-functional propagated-user-env-packages
we use recursive processing of pth files instead
This commit is contained in:
parent
27a73428cc
commit
aeef72fa85
|
@ -91,14 +91,6 @@ python.stdenv.mkDerivation (attrs // {
|
||||||
''
|
''
|
||||||
wrapPythonPrograms
|
wrapPythonPrograms
|
||||||
|
|
||||||
# If a user installs a Python package, she probably also wants its
|
|
||||||
# dependencies in the user environment (since Python modules don't
|
|
||||||
# have something like an RPATH, so the only way to find the
|
|
||||||
# dependencies is to have them in the PYTHONPATH variable).
|
|
||||||
if test -e $out/nix-support/propagated-build-inputs; then
|
|
||||||
ln -s $out/nix-support/propagated-build-inputs $out/nix-support/propagated-user-env-packages
|
|
||||||
fi
|
|
||||||
|
|
||||||
createBuildInputsPth build-inputs "$buildInputStrings"
|
createBuildInputsPth build-inputs "$buildInputStrings"
|
||||||
for inputsfile in propagated-build-inputs propagated-build-native-inputs; do
|
for inputsfile in propagated-build-inputs propagated-build-native-inputs; do
|
||||||
if test -e $out/nix-support/$inputsfile; then
|
if test -e $out/nix-support/$inputsfile; then
|
||||||
|
|
Loading…
Reference in a new issue