fix(modules): fold was deprecated, replace with foldr

This commit is contained in:
technofab 2025-12-05 20:16:37 +01:00
parent 8a77208ebe
commit 8eadfb56ba
No known key found for this signature in database

View file

@ -4,7 +4,7 @@
pipelineSubmodule,
...
}: let
inherit (lib) mkOption types;
inherit (lib) mkOption types foldr;
in rec {
configSubmodule = {
options = {
@ -65,7 +65,7 @@ in rec {
};
};
config = {
packages = lib.fold (pipeline: acc: acc // pipeline) {} (
packages = foldr (pipeline: acc: acc // pipeline) {} (
map (pipeline: pipeline.packages) (builtins.attrValues config.pipelines)
);
soonix = config.config.soonix.finalConfig;