fold -> foldr

This commit is contained in:
mjallen18
2025-12-01 09:39:46 -06:00
parent 07d7456158
commit ddfab125d3

View File

@@ -50,7 +50,7 @@ let
# result: { x = nixpkgs.lib; } # result: { x = nixpkgs.lib; }
get-libs = get-libs =
attrs: attrs:
fold ( foldr (
name: acc: name: acc:
let let
value = attrs.${name}; value = attrs.${name};