mirror of
https://gitlab.com/TECHNOFAB/nix-gitlab-ci.git
synced 2025-12-11 01:30:08 +01:00
fix(modules): fold was deprecated, replace with foldr
This commit is contained in:
parent
8a77208ebe
commit
8eadfb56ba
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue