1eddb04ac9
This saves just enough space on aarch64-linux so that the hadrian built
GHCs are under the 3GB Hydra output limit:
| compiler | before | after | Δ |
|----------|------------|------------|------------|
| ghc962 | 3241234736 | 2810740560 | -430494176 |
| ghcHEAD | 3341288328 | 2902760872 | -438527456 |
The total output size can be calculated using (don't forget to use
aarch64-linux):
```
nix-build -A <compiler> | xargs nix path-info -s | awk '{ s += $2 }; END { print s }'
```
13 lines
562 B
Diff
13 lines
562 B
Diff
diff --git a/hadrian/src/Settings/Builders/Haddock.hs b/hadrian/src/Settings/Builders/Haddock.hs
|
|
index 902b2f85e2..429a441c3b 100644
|
|
--- a/src/Settings/Builders/Haddock.hs
|
|
+++ b/src/Settings/Builders/Haddock.hs
|
|
@@ -57,7 +57,6 @@ haddockBuilderArgs = mconcat
|
|
, arg $ "--odir=" ++ takeDirectory output
|
|
, arg $ "--dump-interface=" ++ output
|
|
, arg "--html"
|
|
- , arg "--hyperlinked-source"
|
|
, arg "--hoogle"
|
|
, arg "--quickjump"
|
|
, arg $ "--title=" ++ pkgName pkg ++ "-" ++ version
|