Skip to content

Commit 4692b1a

Browse files
committed
Fix haddock (now that isNativeMusl works correctly)
1 parent a46fe4b commit 4692b1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

builder/ghc-for-component-wrapper.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ let
2323
libDir = "$wrappedGhc/${configFiles.libDir}";
2424
docDir = "$wrappedGhc/share/doc/ghc/html";
2525
# For musl we can use haddock from the buildGHC
26-
haddock = if stdenv.hostPlatform.isLinux && stdenv.targetPlatform.isMusl && !haskellLib.isNativeMusl
26+
haddock = if stdenv.targetPlatform.isMusl
2727
then ghc.buildGHC
2828
else ghc;
2929

0 commit comments

Comments
 (0)