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 114
114
with haskell . lib ; {
115
115
# Patches don't apply
116
116
github = overrideCabal hsuper . github ( drv : { patches = [ ] ; } ) ;
117
- hiedb = hsuper . callCabal2nix "hiedb" inputs . hiedb { } ;
117
+ # Tests are broken on 9.2 and 9.4, and we wind up bypassing the
118
+ # nixpkgs fixes to the test suite by doing this override. So just
119
+ # turn it off.
120
+ hiedb = haskell . lib . dontCheck ( hsuper . callCabal2nix "hiedb" inputs . hiedb { } ) ;
118
121
119
122
# https://github.com/NixOS/nixpkgs/issues/140774
120
123
ormolu =
135
138
builtins . mapAttrs ( _ : haskell . lib . dontCheck )
136
139
( overlay hself hsuper ) ;
137
140
138
- extended = hpkgs : hpkgs . override ( old : {
141
+ applyHaskellOverlays = overlays : hpkgs : hpkgs . override ( old : {
139
142
overrides =
140
143
lib . fold
141
144
lib . composeExtensions
142
145
( old . overrides or ( _ : _ : { } ) )
143
- [ haskellOverrides
144
- ( dontCheck ( haskell . lib . packageSourceOverrides hlsSources ) )
145
- tweaks
146
- ] ;
146
+ overlays ;
147
147
} ) ;
148
+
149
+ extended = forHlsCI :
150
+ applyHaskellOverlays
151
+ ( prev . lib . optional forHlsCI haskellOverrides
152
+ ++ [ ( dontCheck ( haskell . lib . packageSourceOverrides hlsSources ) )
153
+ tweaks
154
+ ]
155
+ ) ;
148
156
in {
149
157
inherit hlsSources ;
150
158
151
159
# Haskell packages extended with our packages
152
- hlsHpkgs = compiler : extended haskell . packages . ${ compiler } ;
160
+ hlsHpkgs = compiler : extended true haskell . packages . ${ compiler } ;
161
+ # Haskell packages extended with our packages; reusing the nixpkgs set as much as possible
162
+ hlsHpkgsNixpkgs = compiler : extended false haskell . packages . ${ compiler } ;
153
163
154
164
# Support of GenChangelogs.hs
155
165
gen-hls-changelogs = hpkgs :
You can’t perform that action at this time.
0 commit comments