match -> builtins.match
This commit is contained in:
parent
3810d43bbb
commit
2b944a013f
|
@ -2,8 +2,8 @@
|
||||||
|
|
||||||
with lib;
|
with lib;
|
||||||
let
|
let
|
||||||
isSymbol = str: isNull (match "^'.+" str);
|
isSymbol = str: isNull (builtins.match "^'.+" str);
|
||||||
stripQuote = head (match "^'(.+)");
|
stripQuote = head (builtins.match "^'(.+)");
|
||||||
parseStr = str: if (isSymbol str) then (stripQuote str) else ''"${str}"'';
|
parseStr = str: if (isSymbol str) then (stripQuote str) else ''"${str}"'';
|
||||||
|
|
||||||
join-str = concatStringsSep " ";
|
join-str = concatStringsSep " ";
|
||||||
|
|
Loading…
Reference in New Issue