use offline-disutils in buildPythonPackage

This commit is contained in:
Florian Friesdorf
2012-11-23 17:27:55 +01:00
parent 224251d104
commit ad8a4c73fa
3 changed files with 14 additions and 2 deletions

View File

@@ -3,7 +3,7 @@
(http://pypi.python.org/pypi/setuptools/), which represents a large
number of Python packages nowadays. */
{ python, setuptools, wrapPython, lib }:
{ python, setuptools, wrapPython, lib, offlineDistutils }:
{ name, namePrefix ? "python-"
@@ -45,6 +45,8 @@ python.stdenv.mkDerivation (attrs // {
buildInputs = [ python wrapPython setuptools ] ++ buildInputs ++ pythonPath;
builder = ./builder.sh
pythonPath = [ setuptools] ++ pythonPath;
# XXX: Should we run `easy_install --always-unzip'? It doesn't seem