scons: install library files in python's site-package directory

svn path=/nixpkgs/trunk/; revision=12179
This commit is contained in:
Peter Simons 2008-06-23 22:24:12 +00:00
parent 9d48cb846b
commit 4842708ca1

View File

@ -20,7 +20,7 @@ stdenv.mkDerivation {
url = "mirror://sourceforge/scons/scons-${version}.tar.gz";
sha256 = "${versionHash}";
};
buildPhase = "true";
installPhase = "python setup.py install --prefix=$out";
propagatedBuildInputs = [python];
buildPhase = "true";
installPhase = "python setup.py install --prefix=$out --install-lib=$(toPythonPath $out) --hardlink-scons -O1";
}