From 821f72ab34cb7927fea163d5c6860fd517c656ba Mon Sep 17 00:00:00 2001 From: Hamish Mackenzie Date: Tue, 26 Nov 2024 16:38:21 +1300 Subject: [PATCH] Use small address space --- compiler/ghc/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/ghc/default.nix b/compiler/ghc/default.nix index bb46d590f..17ca40343 100644 --- a/compiler/ghc/default.nix +++ b/compiler/ghc/default.nix @@ -62,7 +62,7 @@ let self = , # Whether to disable the large address space allocator # necessary fix for iOS: https://www.reddit.com/r/haskell/comments/4ttdz1/building_an_osxi386_to_iosarm64_cross_compiler/d5qvd67/ - disableLargeAddressSpace ? stdenv.targetPlatform.isDarwin && stdenv.targetPlatform.isAarch64 + disableLargeAddressSpace ? stdenv.targetPlatform.isDarwin && stdenv.targetPlatform.isAarch64 || stdenv.targetPlatform.isAndroid , useLdGold ? # might be better check to see if cc is clang/llvm?