1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-24 18:01:16 +02:00

jq -> nix

This commit is contained in:
Eelco Dolstra 2020-09-16 14:55:24 +02:00
parent 2eacc1bc00
commit 39bc49318f
8 changed files with 106 additions and 74 deletions

7
doc/manual/utils.nix Normal file
View file

@ -0,0 +1,7 @@
with builtins;
{
splitLines = s: filter (x: !isList x) (split "\n" s);
concatStrings = concatStringsSep "";
}