From 68ca227a8767f2141e839b94a8137fa22965184c Mon Sep 17 00:00:00 2001 From: Frothy <76622149+FrothyMarrow@users.noreply.github.com> Date: Tue, 21 May 2024 07:08:17 -0400 Subject: [PATCH] lib: remove alias `lib.warn` --- lib/lua.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/lua.nix b/lib/lua.nix index 68056b1..749e9a3 100644 --- a/lib/lua.nix +++ b/lib/lua.nix @@ -3,7 +3,7 @@ inherit (builtins) hasAttr head throw typeOf isList isAttrs isBool isInt isString isPath isFloat toJSON; inherit (lib.attrsets) mapAttrsToList filterAttrs; inherit (lib.strings) concatStringsSep concatMapStringsSep stringToCharacters; - inherit (lib.trivial) boolToString; + inherit (lib.trivial) boolToString warn; in rec { wrapLuaConfig = { luaBefore ? "", @@ -67,7 +67,7 @@ in rec { then args.expr else if hasAttr "__empty" args then - lib.warn '' + warn '' Using `__empty` to define an empty lua table is deprecated. Use an empty attrset instead. '' "{ }" else