mirror of
https://github.com/NixOS/nix
synced 2025-06-26 07:31:15 +02:00
Upgrade downstreamPlaceholder
to a type with methods
This gets us ready for dynamic derivation dependencies (part of RFC 92).
This commit is contained in:
parent
e7c1113a37
commit
b9e5ce4a27
10 changed files with 152 additions and 30 deletions
|
@ -483,7 +483,7 @@ public:
|
|||
* Coerce to `DerivedPath`.
|
||||
*
|
||||
* Must be a string which is either a literal store path or a
|
||||
* "placeholder (see `downstreamPlaceholder()`).
|
||||
* "placeholder (see `DownstreamPlaceholder`).
|
||||
*
|
||||
* Even more importantly, the string context must be exactly one
|
||||
* element, which is either a `NixStringContextElem::Opaque` or
|
||||
|
@ -622,7 +622,7 @@ public:
|
|||
* @param optOutputPath Optional output path for that string. Must
|
||||
* be passed if and only if output store object is input-addressed.
|
||||
* Will be printed to form string if passed, otherwise a placeholder
|
||||
* will be used (see `downstreamPlaceholder()`).
|
||||
* will be used (see `DownstreamPlaceholder`).
|
||||
*/
|
||||
void mkOutputString(
|
||||
Value & value,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue