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