aboutsummaryrefslogtreecommitdiff
path: root/src/nix/run.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/nix/run.hh')
-rw-r--r--src/nix/run.hh6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/nix/run.hh b/src/nix/run.hh
index 97ddef19b..a55917b06 100644
--- a/src/nix/run.hh
+++ b/src/nix/run.hh
@@ -5,7 +5,13 @@
namespace nix {
+enum struct UseSearchPath {
+ Use,
+ DontUse
+};
+
void runProgramInStore(ref<Store> store,
+ UseSearchPath useSearchPath,
const std::string & program,
const Strings & args,
std::optional<std::string_view> system = std::nullopt);