From d15fade62b743839a20d927d3506d503858f49f0 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Fri, 31 May 2024 23:13:03 +0200 Subject: [PATCH] helpers/toLuaObject: fix rawKey handling --- lib/to-lua.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/to-lua.nix b/lib/to-lua.nix index 87d3340f..590dcc01 100644 --- a/lib/to-lua.nix +++ b/lib/to-lua.nix @@ -21,7 +21,7 @@ rec { if hasPrefix "__unkeyed" n then valueString else if hasPrefix "__rawKey__" n then - "[${n}] = " + valueString + ''[${removePrefix "__rawKey__" n}] = '' + valueString else if n == "__emptyString" then "[''] = " + valueString else