Nix 2.34.6
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 { Use, DontUse };
9
10void execProgramInStore(
11 ref<Store> store,
12 UseLookupPath useLookupPath,
13 const std::string & program,
14 const Strings & args,
15 std::optional<std::string_view> system = std::nullopt,
16 std::optional<StringMap> env = std::nullopt);
17
18} // namespace nix