diff options
author | Guillaume Maudoux <guillaume.maudoux@tweag.io> | 2022-10-20 14:17:05 +0200 |
---|---|---|
committer | Guillaume Maudoux <guillaume.maudoux@tweag.io> | 2022-10-20 14:17:05 +0200 |
commit | 512f6be9b5dae74d3a6112f90090bec442d2a86a (patch) | |
tree | 2b0f1e398514f7c9e0aa3eb92fafe4c768ef061f /src/libexpr/primops.cc | |
parent | 520404f450e7a0dbaa77ef6352677d992920e34d (diff) |
Reword incomparable types message
Diffstat (limited to 'src/libexpr/primops.cc')
-rw-r--r-- | src/libexpr/primops.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libexpr/primops.cc b/src/libexpr/primops.cc index 625b0aa4a..508608183 100644 --- a/src/libexpr/primops.cc +++ b/src/libexpr/primops.cc @@ -586,7 +586,7 @@ struct CompareValues } default: state.debugThrowLastTrace(EvalError({ - .msg = hintfmt("%scannot compare %s with %s: nix does not define an ordering for that type", errorCtx, showType(*v1), showType(*v2)), + .msg = hintfmt("%scannot compare %s with %s; values of that type are incomparable", errorCtx, showType(*v1), showType(*v2)), .errPos = std::nullopt, })); } |