aboutsummaryrefslogtreecommitdiff
path: root/src/nix/installables.cc
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2020-08-04 16:13:20 +0000
committerJohn Ericson <John.Ericson@Obsidian.Systems>2020-08-04 16:13:20 +0000
commitd3452a5ed6e7f052aad5e7fd9aaa1061b0c54652 (patch)
tree2850a6df6fe4643d2ba14d4b47475222e5d31dc6 /src/nix/installables.cc
parentc4ada76e860a595e3f034b89f27374ce79513d9f (diff)
parent5b22a2c0d443ce1156f361af2dcb142d270daa6c (diff)
Merge remote-tracking branch 'upstream/master' into better-ca-parse-errors
Diffstat (limited to 'src/nix/installables.cc')
-rw-r--r--src/nix/installables.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nix/installables.cc b/src/nix/installables.cc
index a17477c8a..59b52ce95 100644
--- a/src/nix/installables.cc
+++ b/src/nix/installables.cc
@@ -645,7 +645,7 @@ std::shared_ptr<Installable> SourceExprCommand::parseInstallable(
}
Buildables build(ref<Store> store, Realise mode,
- std::vector<std::shared_ptr<Installable>> installables)
+ std::vector<std::shared_ptr<Installable>> installables, BuildMode bMode)
{
if (mode == Realise::Nothing)
settings.readOnlyMode = true;
@@ -671,7 +671,7 @@ Buildables build(ref<Store> store, Realise mode,
if (mode == Realise::Nothing)
printMissing(store, pathsToBuild, lvlError);
else if (mode == Realise::Outputs)
- store->buildPaths(pathsToBuild);
+ store->buildPaths(pathsToBuild, bMode);
return buildables;
}