diff options
author | William A. Kennington III <william@wkennington.com> | 2015-07-08 14:11:16 -0700 |
---|---|---|
committer | William A. Kennington III <william@wkennington.com> | 2015-07-08 14:11:16 -0700 |
commit | 7cda24c01e67f50f790212311a240e56a957dc19 (patch) | |
tree | b136b30124d78b0eb41a3b59ab6814c761391ed3 /pkgs/development/python-modules | |
parent | 81396388e59b83f1a663cf4789c08f8574d66171 (diff) | |
parent | df038c93cc823fef9ceb547e3d635317bdd7d39e (diff) | |
download | nixlib-7cda24c01e67f50f790212311a240e56a957dc19.tar nixlib-7cda24c01e67f50f790212311a240e56a957dc19.tar.gz nixlib-7cda24c01e67f50f790212311a240e56a957dc19.tar.bz2 nixlib-7cda24c01e67f50f790212311a240e56a957dc19.tar.lz nixlib-7cda24c01e67f50f790212311a240e56a957dc19.tar.xz nixlib-7cda24c01e67f50f790212311a240e56a957dc19.tar.zst nixlib-7cda24c01e67f50f790212311a240e56a957dc19.zip |
Merge branch 'master.upstream' into staging.upstream
Diffstat (limited to 'pkgs/development/python-modules')
-rw-r--r-- | pkgs/development/python-modules/generic/wrap.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/generic/wrap.sh b/pkgs/development/python-modules/generic/wrap.sh index 33b9a06f6080..b6d2a66afff6 100644 --- a/pkgs/development/python-modules/generic/wrap.sh +++ b/pkgs/development/python-modules/generic/wrap.sh @@ -37,6 +37,9 @@ wrapPythonProgramsIn() { # dont wrap EGG-INFO scripts since they are called from python if echo "$f" | grep -qv EGG-INFO/scripts; then echo "wrapping \`$f'..." + # The magicalSedExpression will invoke a "$(basename "$f")", so + # if you change $f to something else, be sure to also change it + # in pkgs/top-level/python-packages.nix! sed -i "$f" -re '@magicalSedExpression@' # wrapProgram creates the executable shell script described # above. The script will set PYTHONPATH and PATH variables.! |