python-modules: remove long non-functional propagated-user-env-packages

we use recursive processing of pth files instead
This commit is contained in:
Florian Friesdorf 2012-12-22 02:18:29 +01:00
parent 27a73428cc
commit aeef72fa85

View file

@ -91,14 +91,6 @@ python.stdenv.mkDerivation (attrs // {
''
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"
for inputsfile in propagated-build-inputs propagated-build-native-inputs; do
if test -e $out/nix-support/$inputsfile; then