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.
--via-asm
1 parent e68e317 commit 373ac25Copy full SHA for 373ac25
builder/comp-builder.nix
@@ -170,7 +170,7 @@ let
170
++ lib.optional (deadCodeElimination && stdenv.hostPlatform.isLinux) "--enable-split-sections"
171
++ lib.optional (static) "--enable-static"
172
++ lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) (
173
- map (arg: "--hsc2hs-option=" + arg) ["--cross-compile" "--via-asm"]
+ map (arg: "--hsc2hs-option=" + arg) (["--cross-compile"] ++ lib.optionals (stdenv.hostPlatform.isWindows) ["--via-asm"])
174
++ lib.optional (package.buildType == "Configure") "--configure-option=--host=${stdenv.hostPlatform.config}" )
175
++ component.configureFlags
176
);
0 commit comments