aboutsummaryrefslogtreecommitdiff
path: root/src/nix/bundle.cc
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2023-03-24 14:07:18 +0100
committerGitHub <noreply@github.com>2023-03-24 14:07:18 +0100
commite00abd3f566b16bb107d513925cf33b40cca35f4 (patch)
tree788fd7516c8175aa015f262f4b33104f961ec99e /src/nix/bundle.cc
parenta4c2cd3c06ae8a0ce35f1bbaa932bcb23916c13f (diff)
parentc998e0172f31fd5707a8361962ec99b3ff9b1b10 (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.cc6
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();