File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -609,7 +609,9 @@ haskell-nix.haskellLib.makeCompilerDeps (stdenv.mkDerivation (rec {
609
609
buildInputs = [ perl bash ] ++ ( libDeps hostPlatform ) ;
610
610
611
611
depsTargetTarget = lib . optionals ( ! targetPlatform . isGhcjs ) ( map lib . getDev ( libDeps targetPlatform ) ) ;
612
- depsTargetTargetPropagated = lib . optionals ( ! targetPlatform . isGhcjs ) ( map ( lib . getOutput "out" ) ( libDeps targetPlatform ) ) ;
612
+ depsTargetTargetPropagated = lib . optionals ( ! targetPlatform . isGhcjs ) ( map ( lib . getOutput "out" ) ( libDeps targetPlatform ) )
613
+ # Needs to be propagated for `ffi.h`
614
+ ++ lib . optional targetPlatform . isWasm ( lib . getDev targetLibffi ) ;
613
615
614
616
# required, because otherwise all symbols from HSffi.o are stripped, and
615
617
# that in turn causes GHCi to abort
You can’t perform that action at this time.
0 commit comments