aboutsummaryrefslogtreecommitdiff
path: root/src/libutil/comparator.hh
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2023-09-06 11:35:01 -0400
committerJohn Ericson <John.Ericson@Obsidian.Systems>2023-09-06 11:44:06 -0400
commitb7edc2099fffd7d54638122d2d9950e3d3a751f6 (patch)
tree4db2cc7ec7969b43f280e23c9a5fc43ea8d55c47 /src/libutil/comparator.hh
parent3a62651bd663a849a568bf69017d0f3b1addd564 (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 'src/libutil/comparator.hh')
0 files changed, 0 insertions, 0 deletions