From 64e79a9f4c9465fea7de00baf6f5660409197192 Mon Sep 17 00:00:00 2001 From: Frothy <76622149+FrothyMarrow@users.noreply.github.com> Date: Fri, 26 Apr 2024 20:25:44 -0400 Subject: [PATCH] lib: avoid filtering null values to be used as nil --- lib/lua.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/lua.nix b/lib/lua.nix index 9e67b3f..a38360e 100644 --- a/lib/lua.nix +++ b/lib/lua.nix @@ -77,8 +77,7 @@ in rec { else "[${toLuaObject n}] = " + (toLuaObject v)) (filterAttrs ( - _: v: - (v != null) && (toLuaObject v != "{}") + _: v: (toLuaObject v != "{}") ) args))) + "}"