Skip to content

Commit

Permalink
Fix deprecation warning about mapAttrsFlatten
Browse files Browse the repository at this point in the history
  • Loading branch information
proux01 committed Aug 22, 2024
1 parent 2f11907 commit 0d9ff83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config-parser-1.0.0/ci.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ with builtins; with lib;
collect-jobs = p: flatten (map collect-job (attrValues p));
jobs = collect-jobs (bundle.coqPackages or {});
excluded-pkg = n: v: if v?job && v.job == "_excluded" then [ n ] else [];
excluded = flatten (mapAttrsFlatten excluded-pkg
excluded = flatten (mapAttrsToList excluded-pkg
(bundle.coqPackages or {}));
main-job = v: if (v.main-job or false) && (v.job or "" != "_excluded")
then [ v.job ] else [];
Expand Down

0 comments on commit 0d9ff83

Please sign in to comment.