mirror of
https://github.com/NixOS/nix.git
synced 2025-12-15 13:31:05 +01:00
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> |
||
|---|---|---|
| .. | ||
| release-notes.md | ||
| rl-0.5.md | ||
| rl-0.6.md | ||
| rl-0.7.md | ||
| rl-0.8.1.md | ||
| rl-0.8.md | ||
| rl-0.9.1.md | ||
| rl-0.9.2.md | ||
| rl-0.9.md | ||
| rl-0.10.1.md | ||
| rl-0.10.md | ||
| rl-0.11.md | ||
| rl-0.12.md | ||
| rl-0.13.md | ||
| rl-0.14.md | ||
| rl-0.15.md | ||
| rl-0.16.md | ||
| rl-1.0.md | ||
| rl-1.1.md | ||
| rl-1.2.md | ||
| rl-1.3.md | ||
| rl-1.4.md | ||
| rl-1.5.1.md | ||
| rl-1.5.2.md | ||
| rl-1.5.md | ||
| rl-1.6.1.md | ||
| rl-1.6.md | ||
| rl-1.7.md | ||
| rl-1.8.md | ||
| rl-1.9.md | ||
| rl-1.10.md | ||
| rl-1.11.10.md | ||
| rl-1.11.md | ||
| rl-2.0.md | ||
| rl-2.1.md | ||
| rl-2.2.md | ||
| rl-2.3.md | ||
| rl-2.4.md | ||
| rl-2.5.md | ||
| rl-2.6.md | ||
| rl-2.7.md | ||
| rl-2.8.md | ||
| rl-2.9.md | ||
| rl-2.10.md | ||
| rl-2.11.md | ||
| rl-2.12.md | ||
| rl-2.13.md | ||
| rl-2.14.md | ||
| rl-2.15.md | ||
| rl-2.16.md | ||
| rl-2.17.md | ||
| rl-next.md | ||