pythonFull -> python with all modules, pythonFullWithPkgs -> buildEnv
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user