File tree Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change 163
163
ci = import ./ci.nix { inherit ( self . internal ) compat ; inherit system ; } ;
164
164
in stripAttrsForHydra ( filterDerivations ci ) ;
165
165
166
+ requiredJobs =
167
+ let
168
+ inherit ( legacyPackages ) lib ;
169
+ names = x : lib . filter ( n : n != "recurseForDerivations" && n != "meta" )
170
+ ( builtins . attrNames x ) ;
171
+ in
172
+ builtins . listToAttrs (
173
+ lib . concatMap ( nixpkgsVer :
174
+ let nixpkgsJobs = allJobs . ${ nixpkgsVer } ;
175
+ in lib . concatMap ( compiler-nix-name :
176
+ let ghcJobs = nixpkgsJobs . ${ compiler-nix-name } ;
177
+ in (
178
+ builtins . map ( crossPlatform : {
179
+ name = "required-${ nixpkgsVer } -${ compiler-nix-name } -${ crossPlatform } " ;
180
+ value = legacyPackages . releaseTools . aggregate {
181
+ name = "haskell.nix-${ nixpkgsVer } -${ compiler-nix-name } -${ crossPlatform } " ;
182
+ meta . description = "All ${ nixpkgsVer } ${ compiler-nix-name } ${ crossPlatform } jobs" ;
183
+ constituents = lib . collect ( d : lib . isDerivation d ) ghcJobs . ${ crossPlatform } ;
184
+ } ;
185
+ } ) ( names ghcJobs ) )
186
+ ) ( names nixpkgsJobs )
187
+ ) ( names allJobs ) ) ;
188
+
166
189
ciJobs = allJobs ;
167
190
168
191
hydraJobs = ciJobs ;
You can’t perform that action at this time.
0 commit comments