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:
parent
3a8a3c91f7
commit
2ec77fdc7e
|
@ -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/";
|
||||||
|
|
Loading…
Reference in a new issue