diff options
Diffstat (limited to 'src/nix/installables.cc')
-rw-r--r-- | src/nix/installables.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix/installables.cc b/src/nix/installables.cc index 54c9f7841fe0..9d812fee47ec 100644 --- a/src/nix/installables.cc +++ b/src/nix/installables.cc @@ -229,7 +229,7 @@ std::vector<std::shared_ptr<Installable>> InstallablesCommand::parseInstallables PathSet InstallablesCommand::toStorePaths(ref<Store> store, ToStorePathsMode mode) { - if (mode != DryRun) + if (mode != Build) settings.readOnlyMode = true; PathSet outPaths, buildables; |