Nix 2.30.0
Nix, the purely functional package manager; unstable internal interfaces
Loading...
Searching...
No Matches
run.hh
Go to the documentation of this file.
1#pragma once
3
4#include "nix/store/store-api.hh"
5
6namespace nix {
7
8enum struct UseLookupPath {
9 Use,
10 DontUse
11};
12
13void execProgramInStore(ref<Store> store,
14 UseLookupPath useLookupPath,
15 const std::string & program,
16 const Strings & args,
17 std::optional<std::string_view> system = std::nullopt,
18 std::optional<StringMap> env = std::nullopt);
19
20}