Skip to content

Commit

Permalink
lib: remove alias lib.warn
Browse files Browse the repository at this point in the history
  • Loading branch information
FrothyMarrow committed May 21, 2024
1 parent 69257c0 commit 68ca227
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/lua.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 ? "",
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 68ca227

Please sign in to comment.