Skip to content

Commit

Permalink
Fix missing ghc-iserv for musl
Browse files Browse the repository at this point in the history
  • Loading branch information
hamishmack committed Mar 15, 2024
1 parent 1e6c98d commit f9223fd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions builder/ghc-for-component-wrapper.nix
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,9 @@ let
done
''
+ lib.optionalString (stdenv.targetPlatform.isMusl && !haskellLib.isNativeMusl && builtins.compareVersions ghc.version "9.9" >0) ''
ln -s $wrappedGhc/bin/${ghcCommand}-iserv $wrappedGhc/bin/ghc-iserv
''
# Wrap haddock, if the base GHC provides it.
+ ''
if [[ -x "${haddock}/bin/haddock" ]]; then
Expand Down

0 comments on commit f9223fd

Please sign in to comment.