lix/doc/manual/src/release-notes
John Ericson 44c8d83831 Create outputOf primop.
In the Nix language, given a drv path, we should be able to construct
another string referencing to one of its output. We can do this today
with `(import drvPath).output`, but this only works for derivations we
already have.

With dynamic derivations, however, that doesn't work well because the
`drvPath` isn't yet built: importing it like would need to trigger IFD,
when the whole point of this feature is to do "dynamic build graph"
without IFD!

Instead, what we want to do is create a placeholder value with the right
string context to refer to the output of the as-yet unbuilt derivation.
A new primop in the language, analogous to `builtins.placeholder` can be
used to create one. This will achieve all the right properties. The
placeholder machinery also will match out the `outPath` attribute for CA
derivations works.

In 60b7121d2c we added that type of
placeholder, and the derived path and string holder changes necessary to
support it. Then in the previous commit we cleaned up the code
(inspiration finally hit me!) to deduplicate the code and expose exactly
what we need. Now, we can wire up the primop trivally!

Part of RFC 92: dynamic derivations (tracking issue #6316)

Co-authored-by: Robert Hensing <roberth@users.noreply.github.com>
2023-08-14 09:37:37 -04:00
..
release-notes.md Pandoc conversion 2020-07-23 18:26:48 +02:00
rl-0.5.md Pandoc conversion 2020-07-23 18:26:48 +02:00
rl-0.6.md <replaceable> -> <emphasis> 2020-07-23 18:27:20 +02:00
rl-0.7.md Pandoc conversion 2020-07-23 18:26:48 +02:00
rl-0.8.1.md Pandoc conversion 2020-07-23 18:26:48 +02:00
rl-0.8.md Pandoc conversion 2020-07-23 18:26:48 +02:00
rl-0.9.1.md Pandoc conversion 2020-07-23 18:26:48 +02:00
rl-0.9.2.md Pandoc conversion 2020-07-23 18:26:48 +02:00
rl-0.9.md Pandoc conversion 2020-07-23 18:26:48 +02:00
rl-0.10.1.md Pandoc conversion 2020-07-23 18:26:48 +02:00
rl-0.10.md <replaceable> -> <emphasis> 2020-07-23 18:27:20 +02:00
rl-0.11.md Pandoc conversion 2020-07-23 18:26:48 +02:00
rl-0.12.md <replaceable> -> <emphasis> 2020-07-23 18:27:20 +02:00
rl-0.13.md <replaceable> -> <emphasis> 2020-07-23 18:27:20 +02:00
rl-0.14.md Pandoc conversion 2020-07-23 18:26:48 +02:00
rl-0.15.md Pandoc conversion 2020-07-23 18:26:48 +02:00
rl-0.16.md <replaceable> -> <emphasis> 2020-07-23 18:27:20 +02:00
rl-1.0.md Reconvert 2020-07-23 18:27:11 +02:00
rl-1.1.md Pandoc conversion 2020-07-23 18:26:48 +02:00
rl-1.2.md Reconvert 2020-07-23 18:27:11 +02:00
rl-1.3.md Pandoc conversion 2020-07-23 18:26:48 +02:00
rl-1.4.md <replaceable> -> <emphasis> 2020-07-23 18:27:20 +02:00
rl-1.5.1.md Pandoc conversion 2020-07-23 18:26:48 +02:00
rl-1.5.2.md Pandoc conversion 2020-07-23 18:26:48 +02:00
rl-1.5.md Pandoc conversion 2020-07-23 18:26:48 +02:00
rl-1.6.1.md <replaceable> -> <emphasis> 2020-07-23 18:27:20 +02:00
rl-1.6.md Reconvert 2020-07-23 18:27:11 +02:00
rl-1.7.md docs+test: fix remaining installer downloads without -L (#4006) 2020-09-12 22:08:40 +02:00
rl-1.8.md Reconvert 2020-07-23 18:27:11 +02:00
rl-1.9.md Reconvert 2020-07-23 18:27:11 +02:00
rl-1.10.md Pandoc conversion 2020-07-23 18:26:48 +02:00
rl-1.11.10.md Pandoc conversion 2020-07-23 18:26:48 +02:00
rl-1.11.md <replaceable> -> <emphasis> 2020-07-23 18:27:20 +02:00
rl-2.0.md Fix internal links 2020-07-24 15:46:16 +02:00
rl-2.1.md docs+test: fix remaining installer downloads without -L (#4006) 2020-09-12 22:08:40 +02:00
rl-2.2.md Reconvert 2020-07-23 18:27:11 +02:00
rl-2.3.md Reconvert 2020-07-23 18:27:11 +02:00
rl-2.4.md Release Notes 2.4: add --indirect no-op change 2022-01-12 23:19:15 +01:00
rl-2.5.md rl-2.5.md: Set date 2021-12-13 19:57:06 +01:00
rl-2.6.md Move rl-next.md to rl-2.5.md 2022-01-25 00:11:00 +01:00
rl-2.7.md rl-2.7.md: Fix title 2022-04-05 14:13:26 +02:00
rl-2.8.md Move rl-next.md to rl-2.8.md 2022-04-19 21:12:33 +02:00
rl-2.9.md Typo 2022-05-31 10:38:03 +02:00
rl-2.10.md Branch 2.10 release notes 2022-07-11 21:10:23 +02:00
rl-2.11.md Branch 2.11 release notes 2022-08-24 22:44:58 +02:00
rl-2.12.md doc: fix links 2022-12-13 15:49:40 +01:00
rl-2.13.md Update doc/manual/src/release-notes/rl-2.13.md 2023-01-25 08:58:41 -05:00
rl-2.14.md Release notes 2023-02-28 13:44:14 +01:00
rl-2.15.md Release notes 2023-04-11 12:40:56 +02:00
rl-2.16.md Release notes 2023-05-31 12:38:05 +02:00
rl-2.17.md doc: clarify release notes about nested attribute merges 2023-07-25 16:09:56 +02:00
rl-next.md Create outputOf primop. 2023-08-14 09:37:37 -04:00