mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 08:35:43 +02:00
ci: fix references to attr
This commit is contained in:
parent
5853d93330
commit
032237634b
1 changed files with 3 additions and 9 deletions
|
@ -51,8 +51,8 @@
|
||||||
}
|
}
|
||||||
))
|
))
|
||||||
(lib.collect (lib.isType "check"))
|
(lib.collect (lib.isType "check"))
|
||||||
(lib.groupBy' (acc: x: acc ++ [ x.build ]) [ ] (x: x.attr))
|
(lib.groupBy' (builds: x: builds ++ [ x.build ]) [ ] (x: x.name))
|
||||||
(lib.mapAttrsToList (attr: builds: { inherit attr builds; }))
|
(lib.mapAttrsToList (name: builds: { inherit name builds; }))
|
||||||
|
|
||||||
# Only build one one system for non-test attrs
|
# Only build one one system for non-test attrs
|
||||||
# TODO: this is very heavy handed, maybe we want some exceptions?
|
# TODO: this is very heavy handed, maybe we want some exceptions?
|
||||||
|
@ -71,13 +71,7 @@
|
||||||
matrix:
|
matrix:
|
||||||
matrix
|
matrix
|
||||||
// {
|
// {
|
||||||
builds = map (
|
builds = map (build: build // { attr = "checks.${build.system}.${matrix.name}"; }) matrix.builds;
|
||||||
build:
|
|
||||||
build
|
|
||||||
// {
|
|
||||||
attr = "checks.${build.system}.${matrix.name}";
|
|
||||||
}
|
|
||||||
) matrix.builds;
|
|
||||||
}
|
}
|
||||||
))
|
))
|
||||||
];
|
];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue