about summary refs log tree commit diff
path: root/src/nix
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2017-08-31T15·57+0200
committerEelco Dolstra <edolstra@gmail.com>2017-09-01T10·37+0200
commit7a108d904e9d3bb9ef94487c37b35a050c315a52 (patch)
treef995ea6d8b38e98c0922d771a00bc0e5bc2c4eef /src/nix
parentfe38fce2d843625b7ff1b21ec8cd84cae6ff7c49 (diff)
Fix verbosity level for nix build --dry-run
Diffstat (limited to 'src/nix')
-rw-r--r--src/nix/build.cc2
-rw-r--r--src/nix/installables.cc2
2 files changed, 2 insertions, 2 deletions
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> store, ToStorePathsMode mod
         }
 
     if (mode == DryRun)
-        printMissing(store, buildables);
+        printMissing(store, buildables, lvlError);
     else if (mode == Build)
         store->buildPaths(buildables);