Commit 98830ce
Move warning logic into cabal-project.nix (#2203)
* Move warning logic into cabal-project.nix
This also adds `old-compiler-warning` project argument we can use to switch off the warning when building hadrian. We build hadrian with ghc 9.6.2 from nixpkgs because 9.6.5 may not be present in nixpkgs.
* Fix ci
* ifdLevel 2
* ifdLevel 3
* Better fix
* Update overlays/bootstrap.nix
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* Keep nix 2.4 fix
* Fix warning for llvm compilers
* Fix warning for llvm compilers
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>1 parent 4d607f7 commit 98830ce
File tree
5 files changed
+51
-55
lines changed- compiler/ghc
- lib
- modules
- overlays
5 files changed
+51
-55
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
253 | 253 | | |
254 | 254 | | |
255 | 255 | | |
256 | | - | |
| 256 | + | |
257 | 257 | | |
258 | 258 | | |
259 | 259 | | |
| |||
268 | 268 | | |
269 | 269 | | |
270 | 270 | | |
| 271 | + | |
271 | 272 | | |
272 | 273 | | |
273 | 274 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
102 | | - | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
103 | 105 | | |
104 | 106 | | |
105 | 107 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
22 | 21 | | |
23 | 22 | | |
24 | 23 | | |
| |||
0 commit comments