git.iko.soy/typeable/nixpkgs
on master help sign in
flint: fix build on darwin
commitbae8a2bedcc943f99ad8a5288a6fd18364645b84 authorRobert T. McGibbon <rmcgibbo@gmail.com> dateTue 11 May 2021, 12:56 (6 years ago) parent7217b2d
1 file changed+2−3
pkgs/development/libraries/flint/default.nix+2−3
pkgs/development/libraries/flint/default.nix+2−3
@@ -13,10 +13,12 @@ assert withBlas -> openblas != null && blas.implementation == "openblas" && lapa
1313stdenv.mkDerivation rec {
1414 pname = "flint";
1515 version = "2.7.1";
16+
1617 src = fetchurl {
1718 url = "http://www.flintlib.org/flint-${version}.tar.gz";
1819 sha256 = "07j8r96kdzp19cy3a5yvpjxf90mkd6103yr2n42qmpv7mgcjyvhq";
1920 };
21+
2022 buildInputs = [
2123 gmp
2224 mpir
@@ -37,9 +39,6 @@ stdenv.mkDerivation rec {
3739 "--with-blas=${openblas}"
3840 ];
3941
40− # issues with ntl -- https://github.com/wbhart/flint2/issues/487
41− NIX_CXXSTDLIB_COMPILE = "-std=c++11";
42−
4342 doCheck = true;
4443 meta = {
4544 inherit version;