symengine: fix build w/glibc-2.34

Failing Hydra build: https://hydra.nixos.org/build/163675793
main
Maximilian Bosch 2 years ago
parent 5f9c36c07f
commit 8ba95b6855
No known key found for this signature in database
GPG Key ID: 091DBF4D1FC46B8E
  1. 5
      pkgs/development/libraries/symengine/default.nix

@ -5,6 +5,7 @@
, flint
, mpfr
, libmpc
, catch
}:
stdenv.mkDerivation rec {
@ -18,6 +19,10 @@ stdenv.mkDerivation rec {
sha256 = "sha256-5KpxBusJCuwrfFWHbrRKlH6Ic7YivYqz2m+BCbNfZp0=";
};
postPatch = ''
cp ${catch}/include/catch/catch.hpp symengine/utilities/catch/catch.hpp
'';
nativeBuildInputs = [ cmake ];
buildInputs = [ gmp flint mpfr libmpc ];

Loading…
Cancel
Save