Re-apply Eelco's "installCommand --> installPhase" patch.

svn path=/nixpkgs/trunk/; revision=12892
This commit is contained in:
Peter Simons 2008-09-19 10:07:57 +00:00
parent f3ae22fa5f
commit 05d7c131d1

View File

@ -7,10 +7,10 @@ stdenv.mkDerivation {
sha256 = "0q25zbr4xzknaghha72mq57kh53qw1bf8csgp63pm9sfi72qhirl";
};
buildInputs = [python];
propagatedBuildInputs = [ZopeInterface makeWrapper];
buildPhase = "true";
installCommand =
''
installPhase = ''
python ./setup.py install --prefix=$out --install-lib=$(toPythonPath $out) -O1
for n in $out/bin/*; do wrapProgram $n --set PYTHONPATH "$(toPythonPath $out):$PYTHONPATH:\$PYTHONPATH"; done
'';