summary refs log tree commit diff
path: root/pkgs/development/libraries/gmp
diff options
context:
space:
mode:
authorAndrew Childs <lorne@cons.org.nz>2020-11-19 16:43:15 +0900
committerAndrew Childs <lorne@cons.org.nz>2021-05-17 00:27:01 +0900
commit1182552332a0f0a312c6c73ce958cee342de3c2b (patch)
tree1e12dcd20754e6fcb6c9d304b81b8bac802e42c5 /pkgs/development/libraries/gmp
parent314c92c5428d7e05df435490ed34e59dcc08112f (diff)
downloadnixpkgs-1182552332a0f0a312c6c73ce958cee342de3c2b.tar
nixpkgs-1182552332a0f0a312c6c73ce958cee342de3c2b.tar.gz
nixpkgs-1182552332a0f0a312c6c73ce958cee342de3c2b.tar.bz2
nixpkgs-1182552332a0f0a312c6c73ce958cee342de3c2b.tar.lz
nixpkgs-1182552332a0f0a312c6c73ce958cee342de3c2b.tar.xz
nixpkgs-1182552332a0f0a312c6c73ce958cee342de3c2b.tar.zst
nixpkgs-1182552332a0f0a312c6c73ce958cee342de3c2b.zip
gmp: disable assembly on Apple Silicon
Diffstat (limited to 'pkgs/development/libraries/gmp')
-rw-r--r--pkgs/development/libraries/gmp/6.x.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/gmp/6.x.nix b/pkgs/development/libraries/gmp/6.x.nix
index bf03bf08779..177c1567052 100644
--- a/pkgs/development/libraries/gmp/6.x.nix
+++ b/pkgs/development/libraries/gmp/6.x.nix
@@ -46,7 +46,7 @@ let self = stdenv.mkDerivation rec {
     # to build a .dll on windows, we need --disable-static + --enable-shared
     # see https://gmplib.org/manual/Notes-for-Particular-Systems.html
     ++ optional (!withStatic && stdenv.hostPlatform.isWindows) "--disable-static --enable-shared"
-    ;
+    ++ optional (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) "--disable-assembly";
 
   doCheck = true; # not cross;