From 2ec77fdc7e537ac356735e2f46b8657ee0026505 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Mon, 13 Jul 2009 20:08:44 +0000 Subject: [PATCH] scons: don't overwrite a pre-existing PYTHONPATH in the wrapper svn path=/nixpkgs/trunk/; revision=16342 --- pkgs/development/tools/build-managers/scons/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/tools/build-managers/scons/default.nix b/pkgs/development/tools/build-managers/scons/default.nix index bc941ef102aa..afe63182a2d2 100644 --- a/pkgs/development/tools/build-managers/scons/default.nix +++ b/pkgs/development/tools/build-managers/scons/default.nix @@ -11,7 +11,7 @@ stdenv.mkDerivation rec { propagatedBuildInputs = [python makeWrapper]; 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 = { homepage = "http://scons.org/";