mirror of
https://github.com/NixOS/nix
synced 2025-07-08 02:43:54 +02:00
This does not include any automation for the release branch, but is based on the configuration of https://github.com/NixOS/nix/pull/12349 pre-commit run -a nixfmt-rfc-style
4 lines
425 B
Nix
4 lines
425 B
Nix
# This string contains all supported escapes in a JSON string, per json.org
|
|
# \b and \f are not supported by Nix
|
|
builtins.fromJSON
|
|
''"quote \" reverse solidus \\ solidus \/ backspace \b formfeed \f newline \n carriage return \r horizontal tab \t 1 char unicode encoded backspace \u0008 1 char unicode encoded e with accent \u00e9 2 char unicode encoded s with caron \u0161 3 char unicode encoded rightwards arrow \u2192"''
|