We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b1b6cca commit 7ae0cd7Copy full SHA for 7ae0cd7
compiler/ghc/default.nix
@@ -53,6 +53,15 @@ let self =
53
enableNUMA ? true
54
55
, enableDocs ? false # Choose between --docs=none and --docs=no-sphinx
56
+ # Turning this off saves around 600MB for each GHC build
57
+ # If you need GHC docs use an overlay like this:
58
+ # final: prev: {
59
+ # haskell-nix = prev.haskell-nix // {
60
+ # compiler = final.lib.mapAttrs (_: x: x.override ({
61
+ # enableDocs = true;
62
+ # })) prev.haskell-nix.compiler;
63
+ # };
64
+ # }
65
66
, # What flavour to build. An empty string indicates no
67
# specific flavour and falls back to ghc default values.
0 commit comments