Nix 2.36.0
Nix, the purely functional package manager; unstable internal interfaces
Loading...
Searching...
No Matches
self-exe.hh
Go to the documentation of this file.
1#pragma once
3
5
6#include <filesystem>
7#include <optional>
8#include <string_view>
9
10namespace nix {
11
12struct Sink;
13
35std::filesystem::path getNixBin(std::optional<std::string_view> binary_name = {});
36
49void 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
56std::string runNixBin(std::optional<std::string_view> binaryNameOpt, const OsStrings & args);
57
58} // namespace nix
std::list< OsString > OsStrings
Definition os-string.hh:51
Definition serialise.hh:18