From af85565aba0f4749cb18b118a7333a0745920950 Mon Sep 17 00:00:00 2001 From: NAHO <90870942+trueNAHO@users.noreply.github.com> Date: Sat, 26 Jul 2025 20:12:42 +0200 Subject: [PATCH] treewide: replace lib.listToAttrs with builtins.listToAttrs (#1760) Link: https://github.com/nix-community/stylix/pull/1760 Reviewed-by: awwpotato --- modules/cava/hm.nix | 2 +- modules/kde/hm.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/cava/hm.nix b/modules/cava/hm.nix index df535fff..1ba12135 100644 --- a/modules/cava/hm.nix +++ b/modules/cava/hm.nix @@ -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 diff --git a/modules/kde/hm.nix b/modules/kde/hm.nix index 5ef8196c..241f5d9f 100644 --- a/modules/kde/hm.nix +++ b/modules/kde/hm.nix @@ -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;