3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/stdenv/generic
Orivej Desh a09d9e7cd4 stdenv-setup: fix substituteAll with set -eu
Environment variable filter in substituteAll was not precise and produced
undefined and invalid variable names.  Vladimír Čunát tried to fix that in [1],
but `env -0` did not work during Darwin bootstrap, so [2] reverted this change
and replaced an error due to invalid variables with a warning.  Recently in #28057
John Ericson added `set -u` to `setup.sh` and undefined variables made the setup
fail during e.g. `nix-build -A gnat` with `setup: line 519: !varName: unbound
variable`.

[1] 62fc8859c1
[2] 81df035429
2017-09-03 12:57:08 +00:00
..
builder.sh stdenvs: Distinguish between extraBuildInputs and extraNativeBuildInputs 2017-08-18 12:02:13 -04:00
check-meta.nix nixpkgs release: Fix Darwin-only jobs 2017-08-12 20:38:27 -07:00
default-builder.sh
default.nix treewide: Consistently call ARM 'arm' 2017-08-24 01:17:01 +03:00
make-derivation.nix mkDerivation: explain "all" in hardeningDisable 2017-09-03 12:57:08 +00:00
setup.sh stdenv-setup: fix substituteAll with set -eu 2017-09-03 12:57:08 +00:00