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:
1212 steps :
1313 - uses : actions/checkout@v4
1414 - uses : cachix/install-nix-action@v25
15- - name : Evaluate hydraJobs
15+ - name : Evaluate checks
1616 id : eval-jobs
1717 run : |
1818 MATRIX=$(nix eval \
1919 --accept-flake-config \
2020 --json \
21- .#hydraJobs .x86_64-linux --apply builtins.attrNames \
21+ .#checks .x86_64-linux --apply builtins.attrNames \
2222 )
2323 echo "matrix=$MATRIX" >> $GITHUB_OUTPUT
2424
6363 - check : qemu-overlay-systemd-startup-shutdown
6464 runs-on : ubuntu-latest
6565 env :
66- NIX_ATTR : ' hydraJobs .x86_64-linux.${{ matrix.check }}'
66+ NIX_ATTR : ' checks .x86_64-linux.${{ matrix.check }}'
6767 steps :
6868 - name : Enable KVM group perms
6969 run : |
Original file line number Diff line number Diff line change 132132 else result
133133 ) { } ( builtins . attrNames self . nixosConfigurations ) ;
134134
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 ; } ;
137136
138137 # hydraJobs are checks
139138 hydraJobs = builtins . mapAttrs ( _ : check :
140139 ( nixpkgs . lib . recursiveUpdate check {
141140 meta . timeout = 12 * 60 * 60 ;
142141 } )
143- ) ( import ./ checks { inherit self nixpkgs system ; } ) ;
142+ ) self . checks . ${ system } ;
144143 } ) // {
145144 lib = import ./lib { nixpkgs-lib = nixpkgs . lib ; } ;
146145
You can’t perform that action at this time.
0 commit comments