mirror of
https://github.com/NixOS/nix
synced 2025-07-06 21:41:48 +02:00
* Put build logs in $prefix/var/nix/log/drvs/.
This commit is contained in:
parent
fb5dae8694
commit
88273f9574
2 changed files with 2 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue