Skip to content

Commit 8b2c91b

Browse files
committed
ci: test possible fix
1 parent 10a0c69 commit 8b2c91b

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

nix/haskell.nix

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff 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: {

0 commit comments

Comments
 (0)