flint: fix windows build (#416697)

authored by Weijia Wang and committed by GitHub 4116ab5c 44117f3b

+6 -2
+6 -2
pkgs/development/libraries/flint/3.nix
··· 5 5 gmp, 6 6 mpfr, 7 7 ntl, 8 + windows, 8 9 autoconf, 9 10 automake, 10 11 gettext, ··· 13 14 blas, 14 15 lapack, 15 16 withBlas ? true, 16 - withNtl ? true, 17 + withNtl ? !ntl.meta.broken, 17 18 }: 18 19 19 20 assert ··· 49 50 ] 50 51 ++ lib.optionals withNtl [ 51 52 ntl 53 + ] 54 + ++ lib.optionals stdenv.hostPlatform.isMinGW [ 55 + windows.mingw_w64_pthreads 52 56 ]; 53 57 54 58 # We're not using autoreconfHook because flint's bootstrap ··· 79 83 license = licenses.lgpl3Plus; 80 84 maintainers = with maintainers; [ smasher164 ]; 81 85 teams = [ teams.sage ]; 82 - platforms = platforms.unix; 86 + platforms = platforms.all; 83 87 homepage = "https://www.flintlib.org/"; 84 88 downloadPage = "https://www.flintlib.org/downloads.html"; 85 89 };