3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/interpreters/python
Jan Tojnar a6bb2ede23
python.pkgs.wrapPython: fix string makeWrapperArgs
Bash takes an assignment of a string to an array variable:

local -a user_args
user_args="(foo bar)"

to mean appending the string to the array, not parsing the string into
an array as is the case when on the same line as the declaration:

local -a user_args="(foo bar)"

b0633406cb extracted the declaration before
the newly branched code block, causing string makeWrapperArgs being added
to the array verbatim.

Since local is function scoped, it does not matter if we move it inside
each of the branches so we fix it this way.
2019-12-28 22:23:36 +01:00
..
catch_conflicts
cpython python: remove _manylinux.py 2019-12-16 16:37:16 +01:00
graalpython pythonInterpreters.graalpython37: init 2019-10-22 09:16:18 +02:00
hooks pythonPackages.pipBuildHook: fix unbound variable 2019-11-20 05:06:51 +01:00
manylinux Fix manylinux packages 2019-12-13 11:40:44 +01:00
pypy python: remove _manylinux.py 2019-12-16 16:37:16 +01:00
update-python-libraries update-python-libraries: ignore pyproject 2019-11-22 08:37:03 +01:00
default.nix Merge branch 'staging-next' into staging 2019-12-25 05:18:52 +01:00
fetchpypi.nix
mk-python-derivation.nix
run_setup.py
setup-hook.nix
setup-hook.sh
sitecustomize.py
with-packages.nix
wrap-python.nix
wrap.sh python.pkgs.wrapPython: fix string makeWrapperArgs 2019-12-28 22:23:36 +01:00
wrapper.nix