summary refs log tree commit diff
path: root/pkgs/development/compilers/ghc/8.4.3.nix
diff options
context:
space:
mode:
authorMatthew Bauer <mjbauer95@gmail.com>2018-06-14 16:35:57 -0400
committerMatthew Bauer <mjbauer95@gmail.com>2018-06-14 17:31:06 -0400
commit3d811ff18b4fa66e89a40f48eda6caa457119014 (patch)
treecca0c5025ea827c2293fffc021d79383a78b7d14 /pkgs/development/compilers/ghc/8.4.3.nix
parenta87b177be9aeb74f1b893a8aff98edda5320e119 (diff)
downloadnixlib-3d811ff18b4fa66e89a40f48eda6caa457119014.tar
nixlib-3d811ff18b4fa66e89a40f48eda6caa457119014.tar.gz
nixlib-3d811ff18b4fa66e89a40f48eda6caa457119014.tar.bz2
nixlib-3d811ff18b4fa66e89a40f48eda6caa457119014.tar.lz
nixlib-3d811ff18b4fa66e89a40f48eda6caa457119014.tar.xz
nixlib-3d811ff18b4fa66e89a40f48eda6caa457119014.tar.zst
nixlib-3d811ff18b4fa66e89a40f48eda6caa457119014.zip
ghc8.4: build statically on prebuilt iOS
Otherwise we run into issues in stage 1 with libffi.dylib unable to be
built. It is probably a similar case to the prebuilt Android.

/cc @ericson2314
Diffstat (limited to 'pkgs/development/compilers/ghc/8.4.3.nix')
-rw-r--r--pkgs/development/compilers/ghc/8.4.3.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/compilers/ghc/8.4.3.nix b/pkgs/development/compilers/ghc/8.4.3.nix
index 0fecb1d29622..fc6c96d0a8d5 100644
--- a/pkgs/development/compilers/ghc/8.4.3.nix
+++ b/pkgs/development/compilers/ghc/8.4.3.nix
@@ -22,7 +22,7 @@
 
 , # Whether to build dynamic libs for the standard library (on the target
   # platform). Static libs are always built.
-  enableShared ? !targetPlatform.isWindows && !targetPlatform.useAndroidPrebuilt
+  enableShared ? !targetPlatform.isWindows && !targetPlatform.useAndroidPrebuilt && !targetPlatform.useiOSPrebuilt
 
 , # Whetherto build terminfo.
   enableTerminfo ? !targetPlatform.isWindows