mirror of
https://github.com/NixOS/nix.git
synced 2025-11-14 06:22:42 +01:00
StorePathsCommand: Don't build installables
On second though this was annoying. E.g. "nix log nixpkgs.hello" would build/download Hello first, even though the log can be fetched directly from the binary cache. May need to revisit this.
This commit is contained in:
parent
15e8bd3bcb
commit
6438ba22af
5 changed files with 10 additions and 8 deletions
|
|
@ -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();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue