File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -12,13 +12,13 @@ jobs:
12
12
steps :
13
13
- uses : actions/checkout@v4
14
14
- uses : cachix/install-nix-action@v25
15
- - name : Evaluate hydraJobs
15
+ - name : Evaluate checks
16
16
id : eval-jobs
17
17
run : |
18
18
MATRIX=$(nix eval \
19
19
--accept-flake-config \
20
20
--json \
21
- .#hydraJobs .x86_64-linux --apply builtins.attrNames \
21
+ .#checks .x86_64-linux --apply builtins.attrNames \
22
22
)
23
23
echo "matrix=$MATRIX" >> $GITHUB_OUTPUT
24
24
63
63
- check : qemu-overlay-systemd-startup-shutdown
64
64
runs-on : ubuntu-latest
65
65
env :
66
- NIX_ATTR : ' hydraJobs .x86_64-linux.${{ matrix.check }}'
66
+ NIX_ATTR : ' checks .x86_64-linux.${{ matrix.check }}'
67
67
steps :
68
68
- name : Enable KVM group perms
69
69
run : |
Original file line number Diff line number Diff line change 132
132
else result
133
133
) { } ( builtins . attrNames self . nixosConfigurations ) ;
134
134
135
- # Takes too much memory in `nix flake show`
136
- # checks = import ./checks { inherit self nixpkgs system; };
135
+ checks = import ./checks { inherit self nixpkgs system ; } ;
137
136
138
137
# hydraJobs are checks
139
138
hydraJobs = builtins . mapAttrs ( _ : check :
140
139
( nixpkgs . lib . recursiveUpdate check {
141
140
meta . timeout = 12 * 60 * 60 ;
142
141
} )
143
- ) ( import ./ checks { inherit self nixpkgs system ; } ) ;
142
+ ) self . checks . ${ system } ;
144
143
} ) // {
145
144
lib = import ./lib { nixpkgs-lib = nixpkgs . lib ; } ;
146
145
You can’t perform that action at this time.
0 commit comments