helpers: add "__emptyString" special attr name

This commit is contained in:
Gaetan Lepage
2023-08-28 09:50:49 +02:00
committed by Gaétan Lepage
parent 1319a89ac2
commit ee2e15b58b
+2
View File
@@ -21,6 +21,8 @@ with lib; rec {
(n: v:
if head (stringToCharacters n) == "@"
then toLuaObject v
else if n == "__emptyString"
then "[''] = " + (toLuaObject v)
else "[${toLuaObject n}] = " + (toLuaObject v))
(filterAttrs
(