Skip to content

Commit

Permalink
Add a comment
Browse files Browse the repository at this point in the history
  • Loading branch information
hamishmack authored and angerman committed Feb 15, 2025
1 parent b1b6cca commit 7ae0cd7
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions compiler/ghc/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,15 @@ let self =
enableNUMA ? true

, enableDocs ? false # Choose between --docs=none and --docs=no-sphinx
# Turning this off saves around 600MB for each GHC build
# If you need GHC docs use an overlay like this:
# final: prev: {
# haskell-nix = prev.haskell-nix // {
# compiler = final.lib.mapAttrs (_: x: x.override ({
# enableDocs = true;
# })) prev.haskell-nix.compiler;
# };
# }

, # What flavour to build. An empty string indicates no
# specific flavour and falls back to ghc default values.
Expand Down

0 comments on commit 7ae0cd7

Please # to comment.