From b83e5c9de5cba67c5a74766b9f5482255266e09e Mon Sep 17 00:00:00 2001 From: derped Date: Sat, 18 May 2024 11:17:32 +0200 Subject: [PATCH] Remove obsolete type guard on toLua function. --- pkgs/luaUtils.nix | 3 --- 1 file changed, 3 deletions(-) diff --git a/pkgs/luaUtils.nix b/pkgs/luaUtils.nix index 714938b..deac477 100644 --- a/pkgs/luaUtils.nix +++ b/pkgs/luaUtils.nix @@ -127,9 +127,6 @@ let # can be: null, bool, string, path, int, float, list, set or lambda type = builtins.typeOf value; in - assert - !(builtins.isFunction type) - || builtins.throw "Nix functions (${type}) have no correspoinding Lua representation."; { "null" = nullToLua; "bool" = boolToLua;