mirror of
https://github.com/NixOS/nix
synced 2025-07-04 11:21:47 +02:00
Make nix log command easier to copy
This commit is contained in:
parent
8f553f6eef
commit
59246349d5
1 changed files with 2 additions and 1 deletions
|
@ -991,7 +991,8 @@ Goal::Co DerivationGoal::buildDone()
|
||||||
auto nixLogCommand = experimentalFeatureSettings.isEnabled(Xp::NixCommand)
|
auto nixLogCommand = experimentalFeatureSettings.isEnabled(Xp::NixCommand)
|
||||||
? "nix log"
|
? "nix log"
|
||||||
: "nix-store -l";
|
: "nix-store -l";
|
||||||
msg += fmt("For full logs, run '" ANSI_BOLD "%s %s" ANSI_NORMAL "'.",
|
// Don't put quotes around the command. This is copy-pasted a ton, so don't make that error prone.
|
||||||
|
msg += fmt("For full logs, run " ANSI_BOLD "%s %s" ANSI_NORMAL,
|
||||||
nixLogCommand,
|
nixLogCommand,
|
||||||
worker.store.printStorePath(drvPath));
|
worker.store.printStorePath(drvPath));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue