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 135
135
else result
136
136
) { } ( builtins . attrNames self . nixosConfigurations ) ;
137
137
138
- # Takes too much memory in `nix flake show`
139
- # checks = import ./checks { inherit self nixpkgs system; };
138
+ checks = import ./checks { inherit self nixpkgs system ; } ;
140
139
141
140
# hydraJobs are checks
142
141
hydraJobs = builtins . mapAttrs ( _ : check :
143
142
( nixpkgs . lib . recursiveUpdate check {
144
143
meta . timeout = 12 * 60 * 60 ;
145
144
} )
146
- ) ( import ./ checks { inherit self nixpkgs system ; } ) ;
145
+ ) self . checks . ${ system } ;
147
146
} ) // {
148
147
lib = import ./lib { inherit ( nixpkgs ) lib ; } ;
149
148
You can’t perform that action at this time.
0 commit comments