forked from lix-project/lix
Rebecca Turner
8a666d24aa
Added `builtins.toStringDebug`, which formats a value as a string for
debugging purposes. Unlike `builtins.toString`, `builtins.toStringDebug`
will never error and will always produce human-readable, pretty-printed
output (including for expressions that error). This makes it ideal for
interpolation into `builtins.trace` calls and `assert` messages.
(cherry picked from commit 3af61fec55b1bf882d67cc81d874c76c555d058a)
Upstream-PR: https://github.com/NixOS/nix/pull/10206
Change-Id:
|
||
---|---|---|
.. | ||
functional | ||
installer | ||
nixos | ||
unit |