summary refs log tree commit diff
path: root/pkgs/development/interpreters/python/wrapper.nix
diff options
context:
space:
mode:
authorDomen Kožar <domen@dev.si>2014-10-12 14:59:31 +0200
committerDomen Kožar <domen@dev.si>2014-10-13 21:35:21 +0200
commita2a7abc67cff23d6a76fd960e807c08f5c48ac8b (patch)
tree04bc3f8f57eb816427c02880f3a6e6b68a36ed97 /pkgs/development/interpreters/python/wrapper.nix
parent8de9ac5bd49762ad365dd2ec6cfeda863ea8ff2f (diff)
downloadnixpkgs-a2a7abc67cff23d6a76fd960e807c08f5c48ac8b.tar
nixpkgs-a2a7abc67cff23d6a76fd960e807c08f5c48ac8b.tar.gz
nixpkgs-a2a7abc67cff23d6a76fd960e807c08f5c48ac8b.tar.bz2
nixpkgs-a2a7abc67cff23d6a76fd960e807c08f5c48ac8b.tar.lz
nixpkgs-a2a7abc67cff23d6a76fd960e807c08f5c48ac8b.tar.xz
nixpkgs-a2a7abc67cff23d6a76fd960e807c08f5c48ac8b.tar.zst
nixpkgs-a2a7abc67cff23d6a76fd960e807c08f5c48ac8b.zip
pythonFull -> python with all modules, pythonFullWithPkgs -> buildEnv
Diffstat (limited to 'pkgs/development/interpreters/python/wrapper.nix')
-rw-r--r--pkgs/development/interpreters/python/wrapper.nix7
1 files changed, 3 insertions, 4 deletions
diff --git a/pkgs/development/interpreters/python/wrapper.nix b/pkgs/development/interpreters/python/wrapper.nix
index ccfbcfcdd42..37180b1472b 100644
--- a/pkgs/development/interpreters/python/wrapper.nix
+++ b/pkgs/development/interpreters/python/wrapper.nix
@@ -1,12 +1,11 @@
 { stdenv, python, buildEnv, makeWrapper, recursivePthLoader, extraLibs ? [], postBuild ? ""
-, stdLibs ? stdenv.lib.attrValues python.modules, ignoreCollisions ? false
-}:
+, ignoreCollisions ? false }:
 
 # Create a python executable that knows about additional packages.
 
 (buildEnv {
-  name = "python-${python.version}-wrapper";
-  paths = stdenv.lib.filter (x : x ? pythonPath) (stdenv.lib.closePropagation extraLibs) ++ stdLibs ++ [ python recursivePthLoader ];
+  name = "python-${python.version}-env";
+  paths = stdenv.lib.filter (x : x ? pythonPath) (stdenv.lib.closePropagation extraLibs) ++ [ python recursivePthLoader ];
 
   inherit ignoreCollisions;