diff options
Diffstat (limited to 'third_party/nix/src/nix/installables.cc')
-rw-r--r-- | third_party/nix/src/nix/installables.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/third_party/nix/src/nix/installables.cc b/third_party/nix/src/nix/installables.cc index f708a5a9fa14..2378a4b16a52 100644 --- a/third_party/nix/src/nix/installables.cc +++ b/third_party/nix/src/nix/installables.cc @@ -248,10 +248,9 @@ Buildables build(ref<Store> store, RealiseMode mode, if (mode == DryRun) { printMissing(store, pathsToBuild); - } else { - if + } else if (mode == Build) { + store->buildPaths(pathsToBuild); } - (mode == Build) store->buildPaths(pathsToBuild); return buildables; } |