aboutsummaryrefslogtreecommitdiff
path: root/src/nix/run.hh
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2021-07-27 14:23:24 +0200
committerEelco Dolstra <edolstra@gmail.com>2021-07-27 14:24:03 +0200
commited5ad59dc16d8207f14c23f7fca903ee408eb54e (patch)
treef306c29b27760194717677327a547a6f9dcc3334 /src/nix/run.hh
parentc000cec27fcb16548606830410be265eb082f777 (diff)
nix develop: Support chroot stores
Fixes #5024.
Diffstat (limited to 'src/nix/run.hh')
-rw-r--r--src/nix/run.hh11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/nix/run.hh b/src/nix/run.hh
new file mode 100644
index 000000000..6180a87dd
--- /dev/null
+++ b/src/nix/run.hh
@@ -0,0 +1,11 @@
+#pragma once
+
+#include "store-api.hh"
+
+namespace nix {
+
+void runProgramInStore(ref<Store> store,
+ const std::string & program,
+ const Strings & args);
+
+}