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 {
609609 buildInputs = [ perl bash ] ++ ( libDeps hostPlatform ) ;
610610
611611 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 ) ;
613615
614616 # required, because otherwise all symbols from HSffi.o are stripped, and
615617 # that in turn causes GHCi to abort
You can’t perform that action at this time.
0 commit comments