diff options
author | John Ericson <John.Ericson@Obsidian.Systems> | 2023-09-06 11:35:01 -0400 |
---|---|---|
committer | John Ericson <John.Ericson@Obsidian.Systems> | 2023-09-06 11:44:06 -0400 |
commit | b7edc2099fffd7d54638122d2d9950e3d3a751f6 (patch) | |
tree | 4db2cc7ec7969b43f280e23c9a5fc43ea8d55c47 /tests/flakes/init.sh | |
parent | 3a62651bd663a849a568bf69017d0f3b1addd564 (diff) |
Improve derivation parsing
- Don't assert: Derivation ATerms are not necessarily produced by Nix,
and parsers should always throw graceful errors
- Improve error message from `static void except(..)`, shows both what
we expected and what we actually got.
The intention is that we backport it, and then hopefully a few people
might get slightly better errors if they try out new experimental drv
files (for RFC 92) with an old version of Nix.
Diffstat (limited to 'tests/flakes/init.sh')
0 files changed, 0 insertions, 0 deletions