File tree Expand file tree Collapse file tree 1 file changed +17
-7
lines changed Expand file tree Collapse file tree 1 file changed +17
-7
lines changed Original file line number Diff line number Diff line change 150
150
with haskell . lib ; {
151
151
# Patches don't apply
152
152
github = overrideCabal hsuper . github ( drv : { patches = [ ] ; } ) ;
153
- hiedb = hsuper . callCabal2nix "hiedb" inputs . hiedb { } ;
153
+ # Tests are broken on 9.2 and 9.4, and we wind up bypassing the
154
+ # nixpkgs fixes to the test suite by doing this override. So just
155
+ # turn it off.
156
+ hiedb = haskell . lib . dontCheck ( hsuper . callCabal2nix "hiedb" inputs . hiedb { } ) ;
154
157
hw-prim = hsuper . callCabal2nix "hw-prim" inputs . hw-prim { } ;
155
158
retrie = hsuper . callCabal2nix "retrie" inputs . retrie { } ;
156
159
retrie_1_1_0_0 = hsuper . callCabal2nix "retrie" inputs . retrie-1100 { } ;
182
185
builtins . mapAttrs ( _ : haskell . lib . dontCheck )
183
186
( overlay hself hsuper ) ;
184
187
185
- extended = hpkgs : hpkgs . override ( old : {
188
+ applyHaskellOverlays = overlays : hpkgs : hpkgs . override ( old : {
186
189
overrides =
187
190
lib . fold
188
191
lib . composeExtensions
189
192
( old . overrides or ( _ : _ : { } ) )
190
- [ haskellOverrides
191
- ( dontCheck ( haskell . lib . packageSourceOverrides hlsSources ) )
192
- tweaks
193
- ] ;
193
+ overlays ;
194
194
} ) ;
195
+
196
+ extended = forHlsCI :
197
+ applyHaskellOverlays
198
+ ( prev . lib . optional forHlsCI haskellOverrides
199
+ ++ [ ( dontCheck ( haskell . lib . packageSourceOverrides hlsSources ) )
200
+ tweaks
201
+ ]
202
+ ) ;
195
203
in {
196
204
inherit hlsSources ;
197
205
198
206
# Haskell packages extended with our packages
199
- hlsHpkgs = compiler : extended haskell . packages . ${ compiler } ;
207
+ hlsHpkgs = compiler : extended true haskell . packages . ${ compiler } ;
208
+ # Haskell packages extended with our packages; reusing the nixpkgs set as much as possible
209
+ hlsHpkgsNixpkgs = compiler : extended false haskell . packages . ${ compiler } ;
200
210
201
211
# Support of GenChangelogs.hs
202
212
gen-hls-changelogs = hpkgs :
You can’t perform that action at this time.
0 commit comments