3
0
Fork 0
forked from mirrors/nixpkgs

scons: don't overwrite a pre-existing PYTHONPATH in the wrapper

svn path=/nixpkgs/trunk/; revision=16342
This commit is contained in:
Peter Simons 2009-07-13 20:08:44 +00:00
parent 3a8a3c91f7
commit 2ec77fdc7e

View file

@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
propagatedBuildInputs = [python makeWrapper]; propagatedBuildInputs = [python makeWrapper];
buildPhase = "python setup.py install --prefix=$out --install-lib=$(toPythonPath $out) --hardlink-scons -O1"; buildPhase = "python setup.py install --prefix=$out --install-lib=$(toPythonPath $out) --hardlink-scons -O1";
installPhase = "for n in $out/bin/*; do wrapProgram $n --set PYTHONPATH \"$(toPythonPath $out):$PYTHONPATH:\$PYTHONPATH\"; done"; installPhase = "for n in $out/bin/*; do wrapProgram $n --suffix PYTHONPATH ':' \"$(toPythonPath $out)\"; done";
meta = { meta = {
homepage = "http://scons.org/"; homepage = "http://scons.org/";