From 529ecd98d80d647f4ac47fa9a9c7b9a34c307435 Mon Sep 17 00:00:00 2001 From: David McFarland Date: Mon, 29 Sep 2025 15:51:23 -0300 Subject: [PATCH] gmp: fix cygwin build --- pkgs/development/libraries/gmp/6.x.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/libraries/gmp/6.x.nix b/pkgs/development/libraries/gmp/6.x.nix index 541bab687537..e55838d4216b 100644 --- a/pkgs/development/libraries/gmp/6.x.nix +++ b/pkgs/development/libraries/gmp/6.x.nix @@ -69,7 +69,7 @@ let ++ optional (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.is64bit) "ABI=64" # 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 (!withStatic && stdenv.hostPlatform.isPE) "--disable-static --enable-shared" ++ optional (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) "--disable-assembly"; doCheck = true; # not cross;