We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e46928 commit c8aad10Copy full SHA for c8aad10
builder/comp-builder.nix
@@ -197,6 +197,9 @@ let
197
"--with-gcc=${pkgsBuildBuild.emscripten}/bin/emcc"
198
"--with-ld=${pkgsBuildBuild.emscripten}/bin/emcc"
199
]
200
+ ++ lib.optionals (stdenv.hostPlatform.isGhcjs && stdenv.buildPlatform.isDarwin) [
201
+ "--ar-options=--format=gnu" # Avoid `--format=darwin` it can cause `section too large` errors
202
+ ]
203
++ [ # other flags
204
(disableFeature dontStrip "executable-stripping")
205
(disableFeature dontStrip "library-stripping")
0 commit comments