Nix
2.93.0-dev
Lix: A modern, delicious implementation of the Nix package manager; unstable internal interfaces
Loading...
Searching...
No Matches
environment-variables.hh
Go to the documentation of this file.
1
#pragma once
9
#include <map>
10
#include <optional>
11
#include <string>
12
13
14
namespace
nix {
15
19
std::optional<std::string> getEnv(
const
std::string & key);
20
25
std::optional<std::string> getEnvNonEmpty(
const
std::string & key);
26
30
std::map<std::string, std::string> getEnv();
31
35
void
clearEnv();
36
40
void
replaceEnv(
const
std::map<std::string, std::string> & newEnv);
41
42
}
lix
libutil
environment-variables.hh
Generated by
1.10.0