File tree 1 file changed +17
-11
lines changed 1 file changed +17
-11
lines changed Original file line number Diff line number Diff line change 195
195
hlsSources =
196
196
builtins . mapAttrs ( _ : dir : gitignoreSource dir ) sourceDirs ;
197
197
198
- extended = hpkgs :
199
- ( hpkgs . override ( old : {
200
- overrides = lib . composeExtensions ( old . overrides or ( _ : _ : { } ) )
201
- haskellOverrides ;
202
- } ) ) . extend ( hself : hsuper :
203
- # disable all checks for our packages
204
- builtins . mapAttrs ( _ : drv : haskell . lib . dontCheck drv )
205
- ( lib . composeExtensions
206
- ( haskell . lib . packageSourceOverrides hlsSources ) tweaks hself
207
- hsuper ) ) ;
208
-
198
+ # Disable tests, but only for the packages mentioned in this overlay
199
+ #
200
+ # We don't want to disable tests for *all* packages
201
+ dontCheck = overlay : hself : hsuper :
202
+ builtins . mapAttrs ( _ : haskell . lib . dontCheck )
203
+ ( overlay hself hsuper ) ;
204
+
205
+ extended = hpkgs : hpkgs . override ( old : {
206
+ overrides =
207
+ lib . fold
208
+ lib . composeExtensions
209
+ ( old . overrides or ( _ : _ : { } ) )
210
+ [ haskellOverrides
211
+ ( dontCheck ( haskell . lib . packageSourceOverrides hlsSources ) )
212
+ tweaks
213
+ ] ;
214
+ } ) ;
209
215
in {
210
216
inherit hlsSources ;
211
217
You can’t perform that action at this time.
0 commit comments