mirror of
https://github.com/NixOS/nix
synced 2025-06-25 06:31:14 +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
|
@ -454,8 +454,8 @@ static void main_nix_build(int argc, char * * argv)
|
|||
auto attrsSH = (Path) tmpDir + "/.attrs.sh";
|
||||
writeFile(attrsSH, structuredAttrsRC);
|
||||
|
||||
env["ATTRS_SH_FILE"] = attrsSH;
|
||||
env["ATTRS_JSON_FILE"] = attrsJSON;
|
||||
env["NIX_ATTRS_SH_FILE"] = attrsSH;
|
||||
env["NIX_ATTRS_JSON_FILE"] = attrsJSON;
|
||||
keepTmp = true;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue