about summary refs log tree commit diff
path: root/src/libstore/exec.hh
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2004-03-12T10·45+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2004-03-12T10·45+0000
commita5619f1dffbf3600dd16b51e84ae3c999edc439c (patch)
tree4fbebc9352ecb394f396dfad023c56ab694e9fa5 /src/libstore/exec.hh
parent7f0ed370da62b867d90ba5346f4b9f217fbbe10f (diff)
* 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.

Diffstat (limited to 'src/libstore/exec.hh')
-rw-r--r--src/libstore/exec.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/exec.hh b/src/libstore/exec.hh
index fc5bd6ac8d0b..892815c5c1e6 100644
--- a/src/libstore/exec.hh
+++ b/src/libstore/exec.hh
@@ -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);