mirror of
https://github.com/NixOS/nix.git
synced 2025-12-18 15:01:08 +01:00
* Set the NIX_STORE and NIX_BUILD_TOP environment variables in
builders to point to the store and the temporary build directory, respectively. Useful for purity checking. * Also set TEMPDIR, TMPDIR, TEMP, and TEMP to NIX_BUILD_TOP to make sure that tools in the builder store temporary files in the right location.
This commit is contained in:
parent
7f0ed370da
commit
a5619f1dff
3 changed files with 19 additions and 3 deletions
|
|
@ -15,7 +15,7 @@ typedef map<string, string> Environment;
|
|||
|
||||
/* Run a program. */
|
||||
void runProgram(const string & program,
|
||||
const Strings & args, const Environment & env,
|
||||
const Strings & args, Environment env,
|
||||
const string & logFileName);
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue