Nix
2.36.0
Nix, the purely functional package manager; unstable internal interfaces
Toggle main menu visibility
Loading...
Searching...
No Matches
self-exe.hh
Go to the documentation of this file.
1
#pragma once
3
4
#include "
nix/util/os-string.hh
"
5
6
#include <filesystem>
7
#include <optional>
8
#include <string_view>
9
10
namespace
nix {
11
12
struct
Sink
;
13
35
std::filesystem::path getNixBin(std::optional<std::string_view> binary_name = {});
36
49
void
runNixBin2(
50
std::optional<std::string_view> binaryNameOpt,
51
const
OsStrings
& args,
52
bool
isInteractive =
false
,
53
std::optional<OsStringMap> environment = std::nullopt,
54
Sink
* standardOut =
nullptr
);
55
56
std::string runNixBin(std::optional<std::string_view> binaryNameOpt,
const
OsStrings
& args);
57
58
}
// namespace nix
os-string.hh
nix::OsStrings
std::list< OsString > OsStrings
Definition
os-string.hh:51
nix::Sink
Definition
serialise.hh:18
nix
self-exe.hh
Generated by
1.18.0