From a48eecbdc51f8c7474b5aacd3b7c4bc4ee5c9ff0 Mon Sep 17 00:00:00 2001 From: technofab Date: Thu, 16 Apr 2026 12:45:00 +0200 Subject: [PATCH] fix: use foldr instead of deprecated fold --- lib/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/default.nix b/lib/default.nix index 680d68e..7095c2c 100644 --- a/lib/default.nix +++ b/lib/default.nix @@ -9,7 +9,7 @@ removePrefix splitString setAttrByPath - fold + foldr recursiveUpdate ; in rec { @@ -23,7 +23,7 @@ in rec { # # disko.devices = utils.collectDisks cell.disks; collectDisks = disks: - fold (acc: item: recursiveUpdate acc item) {} + foldr (acc: item: recursiveUpdate acc item) {} (map (dev: builtins.removeAttrs dev.userConfig ["ren"]) (builtins.attrValues disks));