nix/doc/manual/utils.nix
Eelco Dolstra 39bc49318f jq -> nix
2020-09-16 14:58:06 +02:00

8 lines
116 B
Nix

with builtins;
{
splitLines = s: filter (x: !isList x) (split "\n" s);
concatStrings = concatStringsSep "";
}