libstore/build: put nix log command on its own line
This way, you can copy paste it easily. Change-Id: Ie5799d1dea59f26cc0a1b3fde17d4449f49361c5
This commit is contained in:
@@ -921,7 +921,7 @@ std::string DerivationGoal::buildErrorContents(const std::string & exitMsg, bool
|
||||
auto nixLogCommand =
|
||||
experimentalFeatureSettings.isEnabled(Xp::NixCommand) ? "nix log" : "nix-store -l";
|
||||
msg +=
|
||||
fmt("For full logs, run: '" ANSI_BOLD "%s %s" ANSI_NORMAL "'.",
|
||||
fmt("For full logs, run:\n\t" ANSI_BOLD "%s %s" ANSI_NORMAL "",
|
||||
nixLogCommand,
|
||||
worker.store.printStorePath(drvPath));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user