![]() |
Nix 2.36.0
Nix, the purely functional package manager; unstable internal interfaces
|
Public Member Functions | |
| bool | operator== (const Derivation &) const =default |
| bool | isBuiltin () const |
| StringSet | outputNames () const |
| void | applyRewrites (const StringMap &rewrites) |
| template<typename F> | |
| Derivation< std::invoke_result_t< F, const Inputs & >, Out > | mapInputs (F f) const |
| template<typename F> | |
| Derivation< Inputs, std::invoke_result_t< F, const Out & > > | mapOutputs (F f) const |
Static Public Member Functions | |
| static std::string_view | nameFromPath (const StorePath &storePath) |
Public Attributes | |
| Outputs< Out > | outputs |
| Inputs | inputs |
| std::string | platform |
| std::string | builder |
| Strings | args |
| StringPairs | env |
| std::optional< StructuredAttrs > | structuredAttrs |
| std::string | name |
| void nix::derivation::Derivation< Inputs, Out >::applyRewrites | ( | const StringMap & | rewrites | ) |
|
inline |
Return a derivation identical to this one, but with the inputs transformed by f.
|
inline |
Return a derivation identical to this one, but with each output transformed by f.
| StringSet nix::derivation::Derivation< Inputs, Out >::outputNames | ( | ) | const |
Return the output names of a derivation.
| std::string nix::derivation::Derivation< Inputs, Out >::builder |
Probably should be an absolute path in the path format that platform uses
| StringPairs nix::derivation::Derivation< Inputs, Out >::env |
Must not contain the key __json, at least in order to serialize to ATerm.
| Outputs<Out> nix::derivation::Derivation< Inputs, Out >::outputs |
keyed on symbolic IDs