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 python: Move catch_conflicts.py into subdirectory (#23600) 2017-04-01 12:22:36 +02:00
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 pythonPackages.fetchPypi: support SRI hashes 2019-07-11 18:01:04 +02:00
mk-python-derivation.nix Split buildPythonPackage into setup hooks 2019-09-06 15:18:45 +02:00
run_setup.py Python: move python-modules/generic to interpreter folder 2016-09-01 16:16:31 +02:00
setup-hook.nix Python: set DETERMINISTIC_BUILD and PYTHONHASHSEED in setupHook 2017-05-19 16:28:11 +02:00
setup-hook.sh python: make it possible to disable the python setup-hook 2019-04-28 09:20:41 +02:00
sitecustomize.py Python: introduce NIX_PYTHONEXECUTABLE in order to set sys.executable 2019-07-27 11:52:49 +02:00
with-packages.nix python: add python.withPackages function 2016-05-29 15:12:23 +02:00
wrap-python.nix Python: improve cross-compilation 2019-01-04 10:45:22 +01:00
wrap.sh python.pkgs.wrapPython: fix string makeWrapperArgs 2019-12-28 22:23:36 +01:00
wrapper.nix Python: introduce NIX_PYTHONEXECUTABLE in order to set sys.executable 2019-07-27 11:52:49 +02:00