mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-15 18:23:09 +00:00
549e08c8e8
POSIX sh (and `bash`) impose a restriction on environment variable name format and disallow hypheps in the names. Normally it's not a problem as nothing usually tries to refer nyphenated names. One exception is `nix develop` (https://github.com/NixOS/nix/issues/6848): $ nix develop -f. gcc -L gcc-wrapper> ...-get-env.sh: line 70: expand-response-params: bad substitution Note that bash usually uses explicitly created `expandResponseParams` variant of the same variable. To work the problem around let's avoid environment variable export and move it to `passthru` for `cc` (used ina few places) and remove it completely for `binutils` (does not seem to be used at all). |
||
---|---|---|
.. | ||
add-darwin-ldflags-before.sh | ||
add-flags.sh | ||
add-hardening.sh | ||
darwin-install_name_tool-wrapper.sh | ||
darwin-strip-wrapper.sh | ||
default.nix | ||
gnu-binutils-strip-wrapper.sh | ||
ld-solaris-wrapper.sh | ||
ld-wrapper.sh | ||
macos-sierra-reexport-hack.bash | ||
setup-hook.sh |