1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-12-15 13:31:05 +01:00
nix/doc/manual/src/release-notes
Alex Ameen 2d1d81114d
Add parseFlakeRef and flakeRefToString builtins (#8670)
Over the last year or so I've run into several use cases where I need to
parse and/or serialize URLs for use by `builtins.fetchTree` or
`builtins.getFlake`, largely in order to produce _lockfile-like_ files
for lang2nix frameworks or tools which use `nix` internally to drive
builds.

I've gone through the painstaking process of emulating
`nix::FlakeRef::fromAttrs` and `nix::parseFlakeRef` several times with
mixed success; but these are difficult to create and even harder to
maintain if I hope to stay aligned with changes to the real
parser/serializer.

I understand why adding new `builtins` isn't something we want to do
flagrantly. I'm recommending this addition simply because I keep
encountering use cases where I need to parse/serialize these URIs in
`nix` expressions, and I want a reliable solution.

Co-authored-by: Eelco Dolstra <edolstra@gmail.com>
Co-authored-by: John Ericson <git@JohnEricson.me>
2023-07-25 17:43:33 +00: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 Add parseFlakeRef and flakeRefToString builtins (#8670) 2023-07-25 17:43:33 +00:00