lix/tests/unit/libexpr
alois31 b5da823138
libexpr/print: never show empty attrsets or derivations as «repeated»
The repeated value detection logic exists so that the occurrence of large
common substructures does not fill up the screen or the computer's memory.
However, empty attribute sets and derivations (when their detection is enabled)
are always cheap to print, and in practice I have observed them to make up a
significant majority of the cases where I was annoyed by the repeated value
detection kicking in. Furthermore, `nix-instantiate --eval` already disables
this logic for empty attribute sets, and empty lists are already exempted
everywhere. For these reasons, always print empty attribute sets and
derivations as what they are.

Change-Id: I5dac8e7739f9d726b76fd0521ec46f38af94463f
2024-07-18 18:41:34 +02:00
..
value libexpr/print: never show empty attrsets or derivations as «repeated» 2024-07-18 18:41:34 +02:00
derived-path.cc Move tests to separate directories, and document 2023-12-01 13:05:03 -05:00
error_traces.cc Merge pull request #9925 from 9999years/fmt-cleanup 2024-03-09 07:00:13 -07:00
expr-print.cc add an impl of Expr::show for ExprInheritFrom that doesn't crash 2024-07-04 15:55:38 -06:00
flakeref.cc Move tests to separate directories, and document 2023-12-01 13:05:03 -05:00
json.cc Move tests to separate directories, and document 2023-12-01 13:05:03 -05:00
primops.cc builtins.nixVersion: return fixed fake version 2024-03-17 00:32:19 -07:00
search-path.cc Move tests to separate directories, and document 2023-12-01 13:05:03 -05:00
trivial.cc Move tests to separate directories, and document 2023-12-01 13:05:03 -05:00