Nix 2.36.0
Nix, the purely functional package manager; unstable internal interfaces
Loading...
Searching...
No Matches
derivation-env-desugar.hh
Go to the documentation of this file.
1#pragma once
3
4#include "nix/util/types.hh"
5#include "nix/store/path.hh"
6
7namespace nix {
8
9class Store;
10
12
13namespace derivation {
14template<typename Inputs, typename Out>
15struct Derivation;
16struct Output;
17template<typename Input>
18struct Options;
19} // namespace derivation
20
23
38{
39 struct EnvEntry
40 {
47
51 std::string value;
52 };
53
57 std::map<std::string, EnvEntry, std::less<>> variables;
58
66
80 std::string & atFileEnvPair(std::string_view name, std::string fileName);
81
90 static DesugaredEnv create(
91 Store & store,
92 const BasicDerivation & drv,
93 const derivation::Options<StorePath> & drvOptions,
94 const StorePathSet & inputPaths);
95};
96
97} // namespace nix
Definition store-api.hh:397
Definition derivation-options.cc:339
Definition derivation-env-desugar.hh:40
std::string value
Definition derivation-env-desugar.hh:51
bool prependBuildDirectory
Definition derivation-env-desugar.hh:46
Definition derivation-env-desugar.hh:38
static DesugaredEnv create(Store &store, const BasicDerivation &drv, const derivation::Options< StorePath > &drvOptions, const StorePathSet &inputPaths)
Definition derivation-env-desugar.cc:20
StringMap extraFiles
Definition derivation-env-desugar.hh:65
std::map< std::string, EnvEntry, std::less<> > variables
Definition derivation-env-desugar.hh:57
std::string & atFileEnvPair(std::string_view name, std::string fileName)
Definition derivation-env-desugar.cc:8
Definition derived-path.hh:105
Definition derivations.hh:208
Definition derivation-options.hh:99
Definition output.hh:22
std::map< std::string, std::string, std::less<> > StringMap
Definition types.hh:26