From 7a108d904e9d3bb9ef94487c37b35a050c315a52 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 31 Aug 2017 17:57:04 +0200 Subject: Fix verbosity level for nix build --dry-run --- src/nix/build.cc | 2 +- src/nix/installables.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/nix') diff --git a/src/nix/build.cc b/src/nix/build.cc index cc96ac48a977..4239dd3fff9d 100644 --- a/src/nix/build.cc +++ b/src/nix/build.cc @@ -25,7 +25,7 @@ struct CmdBuild : MixDryRun, InstallablesCommand { auto paths = toStorePaths(store, dryRun ? DryRun : Build); - printInfo("build result: %s", showPaths(paths)); + printError("build result: %s", showPaths(paths)); } }; diff --git a/src/nix/installables.cc b/src/nix/installables.cc index bdd273d509c2..fdb6004fb31d 100644 --- a/src/nix/installables.cc +++ b/src/nix/installables.cc @@ -228,7 +228,7 @@ PathSet InstallablesCommand::toStorePaths(ref store, ToStorePathsMode mod } if (mode == DryRun) - printMissing(store, buildables); + printMissing(store, buildables, lvlError); else if (mode == Build) store->buildPaths(buildables); -- cgit 1.4.1