Explicit str param.

This commit is contained in:
niten 2022-05-30 16:14:18 -07:00
parent 2b944a013f
commit 5d8e8e574c
1 changed files with 1 additions and 1 deletions

View File

@ -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 " ";