aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2021-01-25 17:15:38 +0100
committerEelco Dolstra <edolstra@gmail.com>2021-01-25 17:15:38 +0100
commit3ba98ba8f08523e60310cf75ec809bd21d0ce977 (patch)
treeea1adb909de408e59c8168eea45681be031667bb
parenta32073e7e839ea92ada602c0a170855a08afc73a (diff)
Tell user to run 'nix log' to get full build logs
-rw-r--r--src/libstore/build/derivation-goal.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libstore/build/derivation-goal.cc b/src/libstore/build/derivation-goal.cc
index 36bbe46d4..179a010d4 100644
--- a/src/libstore/build/derivation-goal.cc
+++ b/src/libstore/build/derivation-goal.cc
@@ -896,6 +896,8 @@ void DerivationGoal::buildDone()
msg += line;
msg += "\n";
}
+ msg += fmt("For full logs, run '" ANSI_BOLD "nix log %s" ANSI_NORMAL "'.",
+ worker.store.printStorePath(drvPath));
}
if (diskFull)