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