prevent distutils during module install from downloading and load pth files
based on a patch by Cillian de Róiste svn path=/nixpkgs/branches/stdenv-updates/; revision=32583
This commit is contained in:
@@ -9,7 +9,7 @@ let pythonPackages = python.modules // rec {
|
||||
|
||||
buildPythonPackage = import ../development/python-modules/generic {
|
||||
inherit (pkgs) lib;
|
||||
inherit python wrapPython setuptools site;
|
||||
inherit python wrapPython setuptools site offlineDistutils;
|
||||
};
|
||||
|
||||
|
||||
@@ -24,6 +24,10 @@ let pythonPackages = python.modules // rec {
|
||||
inherit python;
|
||||
};
|
||||
|
||||
offlineDistutils = import ../development/python-modules/offline-distutils {
|
||||
inherit (pkgs) stdenv;
|
||||
inherit python;
|
||||
};
|
||||
|
||||
ipython = import ../shells/ipython {
|
||||
inherit (pkgs) stdenv fetchurl;
|
||||
|
||||
Reference in New Issue
Block a user