mirror of
https://github.com/NixOS/nix
synced 2025-06-24 18:01:16 +02:00
jq -> nix
This commit is contained in:
parent
2eacc1bc00
commit
39bc49318f
8 changed files with 106 additions and 74 deletions
7
doc/manual/utils.nix
Normal file
7
doc/manual/utils.nix
Normal file
|
@ -0,0 +1,7 @@
|
|||
with builtins;
|
||||
|
||||
{
|
||||
splitLines = s: filter (x: !isList x) (split "\n" s);
|
||||
|
||||
concatStrings = concatStringsSep "";
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue