summary refs log tree commit diff
path: root/pkgs/development/python-modules
diff options
context:
space:
mode:
authorDomen Kožar <domen@dev.si>2015-01-17 14:19:29 +0100
committerDomen Kožar <domen@dev.si>2015-01-17 14:19:29 +0100
commit9a33fbb52de9ec92e808dfb695a00d5959afe6d9 (patch)
tree3bfac8f06d137c5851c3b0cc2ba0a2051fa79c19 /pkgs/development/python-modules
parentc611f5837ce08335ffe6274541cd3dd134b97ae5 (diff)
downloadnixlib-9a33fbb52de9ec92e808dfb695a00d5959afe6d9.tar
nixlib-9a33fbb52de9ec92e808dfb695a00d5959afe6d9.tar.gz
nixlib-9a33fbb52de9ec92e808dfb695a00d5959afe6d9.tar.bz2
nixlib-9a33fbb52de9ec92e808dfb695a00d5959afe6d9.tar.lz
nixlib-9a33fbb52de9ec92e808dfb695a00d5959afe6d9.tar.xz
nixlib-9a33fbb52de9ec92e808dfb695a00d5959afe6d9.tar.zst
nixlib-9a33fbb52de9ec92e808dfb695a00d5959afe6d9.zip
python: don't propagate installed packages into userenv, refs #4949
Propagation is not needed anymore, as we have more powerful apis today
than this dirty hack. See nix-shell tool and python.buildEnv function
in nixpkgs manual.
Diffstat (limited to 'pkgs/development/python-modules')
-rw-r--r--pkgs/development/python-modules/generic/default.nix8
1 files changed, 0 insertions, 8 deletions
diff --git a/pkgs/development/python-modules/generic/default.nix b/pkgs/development/python-modules/generic/default.nix
index 260128a2ddac..f0e057e2dd69 100644
--- a/pkgs/development/python-modules/generic/default.nix
+++ b/pkgs/development/python-modules/generic/default.nix
@@ -143,14 +143,6 @@ if disabled then throw "${name} not supported for interpreter ${python.executabl
   postFixup = attrs.postFixup or ''
       wrapPythonPrograms
 
-      # If a user installs a Python package, they probably also wants its
-      # dependencies in the user environment profile (only way to find the
-      # dependencies is to have them in the PYTHONPATH variable).
-      # Allows you to do: $ PYTHONPATH=~/.nix-profile/lib/python2.7/site-packages python
-      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
-
       # TODO: document
       createBuildInputsPth build-inputs "$buildInputStrings"
       for inputsfile in propagated-build-inputs propagated-native-build-inputs; do