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:
Florian Friesdorf
2012-02-26 17:23:09 +00:00
parent ccb34b093f
commit d52e2c7c41
3 changed files with 36 additions and 2 deletions

View File

@@ -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;