From f1702dab48a94baf8bf5bd28bd41cf95621304bc Mon Sep 17 00:00:00 2001 From: lassulus Date: Sat, 21 Jan 2017 23:26:48 +0100 Subject: move indent to lib --- lib/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/default.nix b/lib/default.nix index 2b12fa4..7e61c94 100644 --- a/lib/default.nix +++ b/lib/default.nix @@ -39,6 +39,8 @@ let string = toJSON x; # close enough }.${type} or reject; + indent = replaceChars ["\n"] ["\n "]; + }; in -- cgit v1.2.3