nixpkgs/lib/tests
Maximilian Bosch 5773ae93f7
lib/generators: move limit detection into withRecursion
As suggested in #131205.

Now it's possible to pretty-print a value with `lib.generators` like
this:

    with lib.generators;
    toPretty { }
      (withRecursion { depthLimit = 10; } /* arbitrarily complex value */)

Also, this can be used for any other pretty-printer now if needed.
2021-08-26 00:28:49 +02:00
..
modules Revert "lib/tests: Add type deprecation tests" 2021-05-05 18:53:28 +02:00
check-eval.nix lib/tests: Add check-eval.nix to run simple tests. 2018-03-04 06:28:49 -05:00
maintainers.nix treewide: runCommandNoCC -> runCommand 2021-08-15 17:36:41 +02:00
misc.nix lib/generators: move limit detection into withRecursion 2021-08-26 00:28:49 +02:00
modules.sh Revert "lib/tests: Add type deprecation tests" 2021-05-05 18:53:28 +02:00
release.nix treewide: runCommandNoCC -> runCommand 2021-08-15 17:36:41 +02:00
sources.sh lib/tests/sources.sh: init 2021-05-29 14:32:56 +02:00
systems.nix lib.systems: add m68k-netbsd support 2021-08-01 15:27:12 +00:00