aboutsummaryrefslogtreecommitdiff
path: root/src/libcmd/command-installable-value.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/libcmd/command-installable-value.cc')
-rw-r--r--src/libcmd/command-installable-value.cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/libcmd/command-installable-value.cc b/src/libcmd/command-installable-value.cc
new file mode 100644
index 000000000..7e0c15eb8
--- /dev/null
+++ b/src/libcmd/command-installable-value.cc
@@ -0,0 +1,11 @@
+#include "command-installable-value.hh"
+
+namespace nix {
+
+void InstallableValueCommand::run(ref<Store> store, ref<Installable> installable)
+{
+ auto installableValue = InstallableValue::require(installable);
+ run(store, installableValue);
+}
+
+}