about summary refs log tree commit diff
path: root/src/libnix/normalise.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/libnix/normalise.cc')
-rw-r--r--src/libnix/normalise.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libnix/normalise.cc b/src/libnix/normalise.cc
index 196fcad2e92c..0ce38d68a88f 100644
--- a/src/libnix/normalise.cc
+++ b/src/libnix/normalise.cc
@@ -164,7 +164,8 @@ Path normaliseNixExpr(const Path & _nePath, PathSet pending)
 
         /* Run the builder. */
         msg(lvlChatty, format("building..."));
-        runProgram(ne.derivation.builder, ne.derivation.args, env);
+        runProgram(ne.derivation.builder, ne.derivation.args, env,
+            nixLogDir + "/" + baseNameOf(nePath));
         msg(lvlChatty, format("build completed"));
         
     } else