symengine: fix build w/glibc-2.34
Failing Hydra build: https://hydra.nixos.org/build/163675793
This commit is contained in:
parent
5f9c36c07f
commit
8ba95b6855
|
@ -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…
Reference in a new issue