From 88273f9574fc137301b6a65669eb20f18d7a3b61 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 17 Feb 2005 13:54:45 +0000 Subject: * Put build logs in $prefix/var/nix/log/drvs/. --- src/libstore/build.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/libstore/build.cc b/src/libstore/build.cc index 1aa3e37ba..33914b78e 100644 --- a/src/libstore/build.cc +++ b/src/libstore/build.cc @@ -1156,7 +1156,7 @@ void DerivationGoal::computeClosure() void DerivationGoal::openLogFile() { /* Create a log file. */ - Path logFileName = nixLogDir + "/" + baseNameOf(drvPath); + Path logFileName = nixLogDir + "/drvs/" + baseNameOf(drvPath); fdLogFile = open(logFileName.c_str(), O_CREAT | O_WRONLY | O_TRUNC, 0666); if (fdLogFile == -1) -- cgit v1.2.3