summary refs log tree commit diff
path: root/pkgs/development/python-modules/generic
diff options
context:
space:
mode:
authorFlorian Friesdorf <flo@chaoflow.net>2012-02-26 17:23:47 +0000
committerFlorian Friesdorf <flo@chaoflow.net>2012-02-26 17:23:47 +0000
commit6d7dfd14154d1dae7a2be027d5518b8ff8944482 (patch)
tree976f0b39c296c194ea2e7745918d4b6d36edf458 /pkgs/development/python-modules/generic
parenteb35e3bd130cc8b80ece0164135b0cca66aab05c (diff)
downloadnixpkgs-6d7dfd14154d1dae7a2be027d5518b8ff8944482.tar
nixpkgs-6d7dfd14154d1dae7a2be027d5518b8ff8944482.tar.gz
nixpkgs-6d7dfd14154d1dae7a2be027d5518b8ff8944482.tar.bz2
nixpkgs-6d7dfd14154d1dae7a2be027d5518b8ff8944482.tar.lz
nixpkgs-6d7dfd14154d1dae7a2be027d5518b8ff8944482.tar.xz
nixpkgs-6d7dfd14154d1dae7a2be027d5518b8ff8944482.tar.zst
nixpkgs-6d7dfd14154d1dae7a2be027d5518b8ff8944482.zip
PYTHONPATH in preConfigure instead of configurePhase
enables a normal configurePhase also for python packages (e.g. libxml2
python bindings)

authored by: chaoflow, goibhniu

svn path=/nixpkgs/branches/stdenv-updates/; revision=32595
Diffstat (limited to 'pkgs/development/python-modules/generic')
-rw-r--r--pkgs/development/python-modules/generic/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/generic/default.nix b/pkgs/development/python-modules/generic/default.nix
index 6eaa67562d2..5f85d837c3c 100644
--- a/pkgs/development/python-modules/generic/default.nix
+++ b/pkgs/development/python-modules/generic/default.nix
@@ -73,7 +73,7 @@ python.stdenv.mkDerivation (attrs // {
 
   buildInputs = [ python wrapPython setuptools ] ++ buildInputs ++ pythonPath;
 
-  configurePhase = ''
+  preConfigure = ''
     # do not allow distutils to make downloads, whatever install command is used
     export PYTHONPATH="${setuptools}/lib/${python.libPrefix}:$PYTHONPATH"
     export PYTHONPATH="${offlineDistutils}/lib/${python.libPrefix}:$PYTHONPATH"