treewide: replace lib.listToAttrs with builtins.listToAttrs (#1760)

Link: https://github.com/nix-community/stylix/pull/1760

Reviewed-by: awwpotato <awwpotato@voidq.com>
This commit is contained in:
NAHO 2025-07-26 20:12:42 +02:00 committed by GitHub
parent c4f87efbfa
commit af85565aba
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -12,7 +12,7 @@ mkTarget {
let
mkGradient =
colors:
lib.listToAttrs (
builtins.listToAttrs (
lib.imap0 (
i: c: lib.nameValuePair "gradient_color_${toString (i + 1)}" "'#${c}'"
) colors

View file

@ -108,7 +108,7 @@ let
value = mkColorTriple hex;
};
colors' = lib.listToAttrs (map mkColorMapping (lib.range 0 15));
colors' = builtins.listToAttrs (map mkColorMapping (lib.range 0 15));
kdecolors = with colors'; {
BackgroundNormal = base00;