|
std::string | makeRcScript (ref< Store > store, const BuildEnvironment &buildEnvironment, const std::filesystem::path &tmpDir, const std::filesystem::path &outputsDir=std::filesystem::path { std::filesystem::current_path() }/"outputs") |
void | fixupStructuredAttrs (PathViewNG::string_view ext, const std::string &envVar, const std::string &content, StringMap &rewrites, const BuildEnvironment &buildEnvironment, const std::filesystem::path &tmpDir) |
Strings | getDefaultFlakeAttrPaths () override |
Strings | getDefaultFlakeAttrPathPrefixes () override |
StorePath | getShellOutPath (ref< Store > store, ref< Installable > installable) |
std::pair< BuildEnvironment, std::string > | getBuildEnvironment (ref< Store > store, ref< Installable > installable) |
|
StringSet | ignoreVars |
std::vector< std::pair< std::string, std::string > > | redirects |
◆ fixupStructuredAttrs()
void Common::fixupStructuredAttrs |
( |
PathViewNG::string_view | ext, |
|
|
const std::string & | envVar, |
|
|
const std::string & | content, |
|
|
StringMap & | rewrites, |
|
|
const BuildEnvironment & | buildEnvironment, |
|
|
const std::filesystem::path & | tmpDir ) |
|
inline |
Replace the value of NIX_ATTRS_*_FILE (/build/.attrs.*) with a tmp file that's accessible from the interactive shell session.
◆ ignoreVars
StringSet Common::ignoreVars |
Initial value:{
"BASHOPTS",
"HOME",
"NIX_BUILD_TOP",
"NIX_ENFORCE_PURITY",
"NIX_LOG_FD",
"NIX_REMOTE",
"PPID",
"SHELLOPTS",
"SSL_CERT_FILE",
"TEMP",
"TEMPDIR",
"TERM",
"TMP",
"TMPDIR",
"TZ",
"UID",
}
The documentation for this struct was generated from the following file:
- /home/abuild/rpmbuild/BUILD/nix-2.30.0-build/nix-2.30.0/src/nix/develop.cc