Skip to content

Commit 20b8f90

Browse files
committed
Add comment
1 parent 4e77783 commit 20b8f90

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

builder/ghc-for-component-wrapper.nix

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ let
2525
docDir = "$wrappedGhc/share/doc/ghc/html";
2626
# For musl we can use haddock from the buildGHC
2727
haddock = if stdenv.hostPlatform.isMusl
28-
then ghc.buildGHC or ghc
28+
then ghc.buildGHC or ghc # `or ghc` is here because nixpkgs GHC does not have `buildGHC`
29+
# TODO find a way to get suitable GHC and/or respect `ghc.hasHaddock`.
2930
else ghc;
3031

3132
script = ''

0 commit comments

Comments
 (0)