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
|
|
@ -30,7 +30,7 @@ struct CmdRun : InstallablesCommand
|
|||
|
||||
void run(ref<Store> store) override
|
||||
{
|
||||
auto outPaths = buildInstallables(store, false);
|
||||
auto outPaths = toStorePaths(store, Build);
|
||||
|
||||
auto store2 = store.dynamic_pointer_cast<LocalStore>();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue