Nix
2.34.7
Nix, the purely functional package manager; unstable internal interfaces
Toggle main menu visibility
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
6
namespace
nix {
7
8
enum struct
UseLookupPath { Use, DontUse };
9
10
void
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
src
nix
run.hh
Generated by
1.17.0