about summary refs log tree commit diff
path: root/pkgs/development/compilers/ghc
diff options
context:
space:
mode:
author3noch <eacameron@gmail.com>2017-02-25 17:44:04 -0500
committerCharles Strahan <charles@cstrahan.com>2017-03-02 11:34:15 -0500
commit7d356ff69646e78c5f9a362ff8b5912fa9ecec7c (patch)
tree0c1c2653507d2e0c1055b00a760f8c327a801439 /pkgs/development/compilers/ghc
parent49bdf9803a9c481948e980e5b11db86bb23ddc4c (diff)
downloadnixlib-7d356ff69646e78c5f9a362ff8b5912fa9ecec7c.tar
nixlib-7d356ff69646e78c5f9a362ff8b5912fa9ecec7c.tar.gz
nixlib-7d356ff69646e78c5f9a362ff8b5912fa9ecec7c.tar.bz2
nixlib-7d356ff69646e78c5f9a362ff8b5912fa9ecec7c.tar.lz
nixlib-7d356ff69646e78c5f9a362ff8b5912fa9ecec7c.tar.xz
nixlib-7d356ff69646e78c5f9a362ff8b5912fa9ecec7c.tar.zst
nixlib-7d356ff69646e78c5f9a362ff8b5912fa9ecec7c.zip
Disable large address space in GHC iOS X compiler
Original:
https://github.com/NixOS/nixpkgs-channels/commit/17cea33d1aa55fdc8beff1001882efa7cc142da1
Diffstat (limited to 'pkgs/development/compilers/ghc')
-rw-r--r--pkgs/development/compilers/ghc/head.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/compilers/ghc/head.nix b/pkgs/development/compilers/ghc/head.nix
index 0ca8e8c299eb..3ae7d9c61e45 100644
--- a/pkgs/development/compilers/ghc/head.nix
+++ b/pkgs/development/compilers/ghc/head.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchgit, bootPkgs, perl, ncurses, libiconv, binutils, coreutils
+{ stdenv, lib, fetchgit, bootPkgs, perl, ncurses, libiconv, binutils, coreutils
 , autoconf, automake, happy, alex, python3, buildPlatform, targetPlatform
 , selfPkgs, cross ? null
 
@@ -105,7 +105,7 @@ in stdenv.mkDerivation (rec {
     "RANLIB=${stdenv.binutilsCross}/bin/${cross.config}-ranlib"
     "--target=${cross.config}"
     "--enable-bootstrap-with-devel-snapshot"
-  ];
+  ] ++ (lib.optional ("${cross.config}" == "aarch64-apple-darwin14") "--disable-large-address-space");
 
   buildInputs = commonBuildInputs ++ [ stdenv.ccCross stdenv.binutilsCross ];