mirror of
https://github.com/NixOS/nix
synced 2025-07-09 07:53:55 +02:00
Prefix env vars for attrs.* files with NIX_
This commit is contained in:
parent
a92245b110
commit
27ce722638
5 changed files with 7 additions and 7 deletions
|
@ -10,7 +10,7 @@ let pkgs = rec {
|
|||
done
|
||||
|
||||
# mimic behavior of stdenv for `$out` etc. for structured attrs.
|
||||
if [ -n "''${ATTRS_SH_FILE}" ]; then
|
||||
if [ -n "''${NIX_ATTRS_SH_FILE}" ]; then
|
||||
for o in "''${!outputs[@]}"; do
|
||||
eval "''${o}=''${outputs[$o]}"
|
||||
export "''${o}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue