diff options
Diffstat (limited to 'src/nix/command.hh')
-rw-r--r-- | src/nix/command.hh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/nix/command.hh b/src/nix/command.hh index 4800b5c91..eb736ce3a 100644 --- a/src/nix/command.hh +++ b/src/nix/command.hh @@ -80,7 +80,9 @@ struct InstallablesCommand : virtual Args, StoreCommand std::vector<std::shared_ptr<Installable>> parseInstallables(ref<Store> store, Strings ss); - PathSet buildInstallables(ref<Store> store, bool dryRun); + enum ToStorePathsMode { Build, NoBuild, DryRun }; + + PathSet toStorePaths(ref<Store> store, ToStorePathsMode mode); ref<EvalState> getEvalState(); |