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