Nix 2.93.3
Lix: A modern, delicious implementation of the Nix package manager; unstable internal interfaces
Loading...
Searching...
No Matches
run.hh
Go to the documentation of this file.
1#pragma once
3
5
6namespace nix {
7
8static constexpr std::string_view chrootHelperName = "__run_in_chroot";
9
10void chrootHelper(int argc, char ** argv);
11
12enum struct UseSearchPath { Use, DontUse };
13
14void runProgramInStore(
15 ref<Store> store,
16 UseSearchPath useSearchPath,
17 const std::string & program,
18 const Strings & args,
19 std::optional<std::string_view> system = std::nullopt
20);
21
22void registerNixRun();
23
24}
Definition ref.hh:19