Skip to content

Commit c5e8e92

Browse files
committed
Fix for musl
1 parent 24c0c07 commit c5e8e92

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
@@ -24,7 +24,7 @@ let
2424
libDir = "$wrappedGhc/${configFiles.libDir}";
2525
docDir = "$wrappedGhc/share/doc/ghc/html";
2626
# For musl we can use haddock from the buildGHC
27-
haddock = if stdenv.targetPlatform.isMusl
27+
haddock = if stdenv.hostPlatform.isMusl
2828
then ghc.buildGHC
2929
else ghc;
3030

0 commit comments

Comments
 (0)