diff --git a/lib/lua.nix b/lib/lua.nix index e37db7a..4bd4930 100644 --- a/lib/lua.nix +++ b/lib/lua.nix @@ -82,7 +82,7 @@ in rec { then "${toString args}" else if builtins.isInt args then "${toString args}" - else if (args != null) + else if (args == null) then "nil" else ""; }