Skip to content

Instantly share code, notes, and snippets.

@matthewbauer
Created May 7, 2019 23:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save matthewbauer/f31f238ad4217140bb4b76ccc091583b to your computer and use it in GitHub Desktop.
Save matthewbauer/f31f238ad4217140bb4b76ccc091583b to your computer and use it in GitHub Desktop.
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