python: skip build at install phase

"python setup.py install" will also run "python setup.py build"
which we've already done in buildPhase.
This commit is contained in:
Domen Kožar 2015-11-04 11:40:09 +01:00
parent 4251612faa
commit d34f5b6570
1 changed files with 1 additions and 0 deletions

View File

@ -118,6 +118,7 @@ python.stdenv.mkDerivation (builtins.removeAttrs attrs ["disabled"] // {
${python}/bin/${python.executable} setup.py install \ ${python}/bin/${python.executable} setup.py install \
--install-lib=$out/lib/${python.libPrefix}/site-packages \ --install-lib=$out/lib/${python.libPrefix}/site-packages \
--old-and-unmanageable \ --old-and-unmanageable \
--skip-build \
--prefix="$out" ${lib.concatStringsSep " " setupPyInstallFlags} --prefix="$out" ${lib.concatStringsSep " " setupPyInstallFlags}
# --install-lib: # --install-lib: