diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2023-03-24 14:07:18 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-24 14:07:18 +0100 |
commit | e00abd3f566b16bb107d513925cf33b40cca35f4 (patch) | |
tree | 788fd7516c8175aa015f262f4b33104f961ec99e /src/nix/bundle.cc | |
parent | a4c2cd3c06ae8a0ce35f1bbaa932bcb23916c13f (diff) | |
parent | c998e0172f31fd5707a8361962ec99b3ff9b1b10 (diff) |
Merge pull request #7757 from obsidiansystems/more-installable-value
Move value-only methods to `InstallableValue`
Diffstat (limited to 'src/nix/bundle.cc')
-rw-r--r-- | src/nix/bundle.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nix/bundle.cc b/src/nix/bundle.cc index 973bbd423..7c32a360e 100644 --- a/src/nix/bundle.cc +++ b/src/nix/bundle.cc @@ -1,5 +1,5 @@ -#include "command.hh" #include "installable-flake.hh" +#include "command-installable-value.hh" #include "common-args.hh" #include "shared.hh" #include "store-api.hh" @@ -8,7 +8,7 @@ using namespace nix; -struct CmdBundle : InstallableCommand +struct CmdBundle : InstallableValueCommand { std::string bundler = "github:NixOS/bundlers"; std::optional<Path> outLink; @@ -70,7 +70,7 @@ struct CmdBundle : InstallableCommand return res; } - void run(ref<Store> store, ref<Installable> installable) override + void run(ref<Store> store, ref<InstallableValue> installable) override { auto evalState = getEvalState(); |