diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2006-10-28 16:33:54 +0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2006-10-28 16:33:54 +0000 |
commit | ae6fb27f18fff6639f3b51ace4789537255a43a4 (patch) | |
tree | ac364f8dd4c745c6b6c2980449df0369a7906ec5 /src/libstore | |
parent | 99b0ea7c67e9e545bdf8b8bb050ce63dc9440e95 (diff) |
* `nix-store --read-log / -l PATH' shows the build log of PATH, if
available. For instance,
$ nix-store -l $(which svn) | less
lets you read the build log of the Subversion instance in your
profile.
* `nix-store -qb': if applied to a non-derivation, take the deriver.
Diffstat (limited to 'src/libstore')
-rw-r--r-- | src/libstore/build.cc | 2 | ||||
-rw-r--r-- | src/libstore/build.hh | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/src/libstore/build.cc b/src/libstore/build.cc index 2388d008f..43ac5cf53 100644 --- a/src/libstore/build.cc +++ b/src/libstore/build.cc @@ -1511,7 +1511,7 @@ void DerivationGoal::computeClosure() } -static string drvsLogDir = "drvs"; +string drvsLogDir = "drvs"; void DerivationGoal::openLogFile() diff --git a/src/libstore/build.hh b/src/libstore/build.hh index c90c12676..71895c0a9 100644 --- a/src/libstore/build.hh +++ b/src/libstore/build.hh @@ -8,6 +8,9 @@ namespace nix { +extern string drvsLogDir; + + /* Ensure that the output paths of the derivation are valid. If they are already valid, this is a no-op. Otherwise, validity can be reached in two ways. First, if the output paths have |