mirror of
https://github.com/NixOS/nix.git
synced 2025-11-24 19:29:36 +01:00
19 lines
315 B
C++
19 lines
315 B
C++
#pragma once
|
|
///@file
|
|
|
|
#include "store-api.hh"
|
|
|
|
namespace nix {
|
|
|
|
enum struct UseLookupPath {
|
|
Use,
|
|
DontUse
|
|
};
|
|
|
|
void execProgramInStore(ref<Store> store,
|
|
UseLookupPath useLookupPath,
|
|
const std::string & program,
|
|
const Strings & args,
|
|
std::optional<std::string_view> system = std::nullopt);
|
|
|
|
}
|