mirror of
https://github.com/NotAShelf/nvf.git
synced 2024-11-22 21:30:51 +00:00
lib: remove alias lib.warn
This commit is contained in:
parent
69257c03a3
commit
68ca227a87
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue