From 836644a7a1969d0ce3bc85bf0190bf613ca56154 Mon Sep 17 00:00:00 2001 From: Raito Bezarius Date: Mon, 18 Aug 2025 17:16:35 +0200 Subject: [PATCH] libstore/build: put nix log command on its own line This way, you can copy paste it easily. Change-Id: Ie5799d1dea59f26cc0a1b3fde17d4449f49361c5 --- lix/libstore/build/derivation-goal.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lix/libstore/build/derivation-goal.cc b/lix/libstore/build/derivation-goal.cc index b402650f4..b39be6435 100644 --- a/lix/libstore/build/derivation-goal.cc +++ b/lix/libstore/build/derivation-goal.cc @@ -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)); }