diff options
author | Domen Kožar <domen@dev.si> | 2014-01-22 10:17:34 +0100 |
---|---|---|
committer | Domen Kožar <domen@dev.si> | 2014-02-20 01:19:16 +0100 |
commit | 567e67f05fb7ddcaa8d788661b81de5a678644ee (patch) | |
tree | a7ab9d34d771bccb035752231fc8b8296b144bee | |
parent | c72d59881fa79be33f8bc2c20c5fc0dfd81c6f33 (diff) | |
download | nixlib-567e67f05fb7ddcaa8d788661b81de5a678644ee.tar nixlib-567e67f05fb7ddcaa8d788661b81de5a678644ee.tar.gz nixlib-567e67f05fb7ddcaa8d788661b81de5a678644ee.tar.bz2 nixlib-567e67f05fb7ddcaa8d788661b81de5a678644ee.tar.lz nixlib-567e67f05fb7ddcaa8d788661b81de5a678644ee.tar.xz nixlib-567e67f05fb7ddcaa8d788661b81de5a678644ee.tar.zst nixlib-567e67f05fb7ddcaa8d788661b81de5a678644ee.zip |
bash doesn't allow comments between multiline statements
-rw-r--r-- | pkgs/development/python-modules/generic/default.nix | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/pkgs/development/python-modules/generic/default.nix b/pkgs/development/python-modules/generic/default.nix index f95278b5e997..2b901db7643a 100644 --- a/pkgs/development/python-modules/generic/default.nix +++ b/pkgs/development/python-modules/generic/default.nix @@ -94,17 +94,21 @@ python.stdenv.mkDerivation (attrs // { export PYTHONPATH="$out/lib/${python.libPrefix}/site-packages:$PYTHONPATH" ${python}/bin/${python.executable} setup.py install \ - # sometimes packages specify where files should be installed outside the usual - # python lib prefix, we override that back so all infrastructure (setup hooks) - # work as expected --install-lib=$out/lib/${python.libPrefix}/site-packages \ - # instruct setuptools not to use eggs but fallback to plan package install - # this also reduces one .pth file in the chain, but the main reason is to - # force install process to install only scripts for the package we are - # installing (otherwise it will install scripts also for dependencies) --old-and-unmanageable \ --prefix="$out" ${lib.concatStringsSep " " setupPyInstallFlags} + # --install-lib: + # sometimes packages specify where files should be installed outside the usual + # python lib prefix, we override that back so all infrastructure (setup hooks) + # work as expected + + # --old-and-unmanagable: + # instruct setuptools not to use eggs but fallback to plan package install + # this also reduces one .pth file in the chain, but the main reason is to + # force install process to install only scripts for the package we are + # installing (otherwise it will install scripts also for dependencies) + # A pth file might have been generated to load the package from # within its own site-packages, rename this package not to # collide with others. |