Skip to content

Commit 59ea1d4

Browse files
committed
Disable static for wasm
1 parent 77dcd1e commit 59ea1d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/component-options.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@
105105
description = "If set, enables building static libraries and executables.";
106106
type = lib.types.bool;
107107
# Disabled for ghcjs, see https://gitlab.haskell.org/ghc/ghc/-/issues/23235
108-
default = !pkgs.stdenv.hostPlatform.isGhcjs;
108+
default = !pkgs.stdenv.hostPlatform.isGhcjs && !pkgs.stdenv.hostPlatform.isWasm;
109109
};
110110

111111
enableShared = lib.mkOption {

0 commit comments

Comments
 (0)