File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -311,11 +311,13 @@ let
311311 export WORKDIR=$TMP/testTracerExt
312312 '' ;
313313 } )
314- ( { lib , pkgs , ... } : lib . mkIf ( ! pkgs . stdenv . hostPlatform . isDarwin ) {
314+ ( { lib , pkgs , ... } : lib . mkIf ( ! pkgs . stdenv . hostPlatform . isDarwin && ! pkgs . stdenv . hostPlatform . isMusl ) {
315315 # Needed for profiled builds to fix an issue loading recursion-schemes part of makeBaseFunctor
316316 # that is missing from the `_p` output. See https://gitlab.haskell.org/ghc/ghc/-/issues/18320
317317 # This work around currently breaks regular builds on macOS with:
318318 # <no location info>: error: ghc: ghc-iserv terminated (-11)
319+ # Excluded for musl: ghc-iserv (musl binary) crashes with SIGILL on musl targets.
320+ # Musl builds are same-arch cross-compiles so GHC can run TH in-process (glibc) instead.
319321 packages . plutus-core . components . library . ghcOptions = [ "-fexternal-interpreter" ] ;
320322 } )
321323 ( { config , lib , ... } @args : {
You can’t perform that action at this time.
0 commit comments