diff options
author | John Ericson <John.Ericson@Obsidian.Systems> | 2023-03-15 17:23:40 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-15 17:23:40 -0400 |
commit | eb56cb7cc7fa9fb58e2d9dc0322375da23b0eb65 (patch) | |
tree | be3dafde2c0cb469b5cef284ef0d8853a18786c6 /src/nix/run.cc | |
parent | 0a140a92bb6ccfd0d84465f37e6561900a48f490 (diff) | |
parent | bc23a44c54510c23dcbba030c39e8a1f3169c869 (diff) |
Merge pull request #7750 from obsidiansystems/no-args-prepare
Make command infra less stateful and more regular
Diffstat (limited to 'src/nix/run.cc')
-rw-r--r-- | src/nix/run.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nix/run.cc b/src/nix/run.cc index 6fca68047..56605d9d5 100644 --- a/src/nix/run.cc +++ b/src/nix/run.cc @@ -97,7 +97,7 @@ struct CmdShell : InstallablesCommand, MixEnvironment ; } - void run(ref<Store> store) override + void run(ref<Store> store, Installables && installables) override { auto outPaths = Installable::toStorePaths(getEvalStore(), store, Realise::Outputs, OperateOn::Output, installables); @@ -183,7 +183,7 @@ struct CmdRun : InstallableCommand return res; } - void run(ref<Store> store) override + void run(ref<Store> store, ref<Installable> installable) override { auto state = getEvalState(); |