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