diff options
author | Matthew Bauer <mjbauer95@gmail.com> | 2020-08-12 15:56:04 -0500 |
---|---|---|
committer | Matthew Bauer <mjbauer95@gmail.com> | 2020-08-17 23:51:59 -0500 |
commit | 0be29459d689b1b8adf79a3d74085ba9006c9cf4 (patch) | |
tree | ae0d5d1cedf9b330487803a0a1cbaf0bda3c8186 /pkgs/development/compilers/ghc/8.8.2.nix | |
parent | 074bc78cc8749faa31729096b65f2ef51b10abeb (diff) |
ghc: set Stage1Only = YES on iOS
We want stage1Only here even if system == system, since we can’t run the native arch simulator binaries locally.
Diffstat (limited to 'pkgs/development/compilers/ghc/8.8.2.nix')
-rw-r--r-- | pkgs/development/compilers/ghc/8.8.2.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/compilers/ghc/8.8.2.nix b/pkgs/development/compilers/ghc/8.8.2.nix index 305226b340797..af5c5433f1bc3 100644 --- a/pkgs/development/compilers/ghc/8.8.2.nix +++ b/pkgs/development/compilers/ghc/8.8.2.nix @@ -60,7 +60,7 @@ let DYNAMIC_GHC_PROGRAMS = ${if enableShared then "YES" else "NO"} INTEGER_LIBRARY = ${if enableIntegerSimple then "integer-simple" else "integer-gmp"} '' + stdenv.lib.optionalString (targetPlatform != hostPlatform) '' - Stage1Only = ${if targetPlatform.system == hostPlatform.system then "NO" else "YES"} + Stage1Only = ${if (targetPlatform.system == hostPlatform.system && !targetPlatform.isiOS) then "NO" else "YES"} CrossCompilePrefix = ${targetPrefix} HADDOCK_DOCS = NO BUILD_SPHINX_HTML = NO |