Skip to content

Commit cd404c4

Browse files
committed
Update default.nix
1 parent 315446d commit cd404c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/ghc/default.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ let
328328
# iPhones/iPads/... won't understand the compiled code, as the compiler will emit LDSETALH
329329
# FIXME: we should have iOS as an argument to this derivation, and then make this, as well as
330330
# disableLargeAddress space conditional on iOS = true.
331-
+ lib.optionalString (stdenv.targetPlatform.isDarwin && stdenv.targetPlatform.isAarch64) "'*.rts.ghc.c.opts += -optc-mcpu=apple-a7 -optc-march=armv8-a+norcpc'"
331+
+ lib.optionalString (stdenv.targetPlatform.isDarwin && stdenv.targetPlatform.isAarch64) " '*.rts.ghc.c.opts += -optc-mcpu=apple-a7 -optc-march=armv8-a+norcpc'"
332332
# For GHC versions in the 9.x range that don't support the +native_bignum flavour transformer yet
333333
+ lib.optionalString ((enableNativeBignum && !hadrianHasNativeBignumFlavour))
334334
" --bignum=native"

0 commit comments

Comments
 (0)