Created
May 7, 2019 23:22
-
-
Save matthewbauer/f31f238ad4217140bb4b76ccc091583b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/pkgs/development/libraries/gmp/6.x.nix b/pkgs/development/libraries/gmp/6.x.nix | |
index f320c303123..11453cb61af 100644 | |
--- a/pkgs/development/libraries/gmp/6.x.nix | |
+++ b/pkgs/development/libraries/gmp/6.x.nix | |
@@ -30,7 +30,7 @@ let self = stdenv.mkDerivation rec { | |
# See <http://hydra.nixos.org/build/2760931>, for instance. | |
# | |
# no darwin because gmp uses ASM that clang doesn't like | |
- (stdenv.lib.enableFeature (!stdenv.isSunOS && stdenv.hostPlatform.isx86) "fat") | |
+ (stdenv.lib.enableFeature (!stdenv.isSunOS && stdenv.hostPlatform.isx86 && !stdenv.hostPlatform.isiOS) "fat") | |
# The config.guess in GMP tries to runtime-detect various | |
# ARM optimization flags via /proc/cpuinfo (and is also | |
# broken on multicore CPUs). Avoid this impurity. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment