treewide: use lib.warn for compatibility (#1228)

This commit is contained in:
Ching Pei Yang 2025-11-17 02:54:32 +01:00 committed by GitHub
commit c022a9ea08
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 8 additions and 4 deletions

View file

@ -1,9 +1,10 @@
{lib}: let
inherit (builtins) warn toJSON;
inherit (builtins) toJSON;
inherit (lib.options) mergeEqualOption;
inherit (lib.lists) singleton;
inherit (lib.strings) isString stringLength match;
inherit (lib.types) listOf mkOptionType coercedTo;
inherit (lib.trivial) warn;
in {
mergelessListOf = elemType:
mkOptionType {