Skip to content

Commit

Permalink
Merge pull request #2 from nix-community/list-runner-labels
Browse files Browse the repository at this point in the history
Fix support for lists of runner labels
  • Loading branch information
adisbladis committed Aug 1, 2023
2 parents 165b165 + 2af5208 commit a282fc3
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,11 @@ let
system: pkgs: builtins.map
(attr:
{
os = [ (platforms.${system}) ];
os =
let
os = platforms.${system};
in
if builtins.typeOf os == "list" then os else [ os ];
attr = (
if attrPrefix != ""
then "${attrPrefix}.checks.${system}.${attr}"
Expand Down

0 comments on commit a282fc3

Please sign in to comment.