aboutsummaryrefslogtreecommitdiff
path: root/src/nix/run.hh
blob: a55917b06d73b986e5c1c94a33cd7b39d94b45da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#pragma once
///@file

#include "store-api.hh"

namespace nix {

enum struct UseSearchPath {
    Use,
    DontUse
};

void runProgramInStore(ref<Store> store,
    UseSearchPath useSearchPath,
    const std::string & program,
    const Strings & args,
    std::optional<std::string_view> system = std::nullopt);

}