clingcon: fix build w/glibc-2.34

Failing Hydra build: https://hydra.nixos.org/build/163641612
This commit is contained in:
Maximilian Bosch 2022-01-10 16:33:32 +01:00
parent f31930977d
commit 52bba1de8a
No known key found for this signature in database
GPG Key ID: 091DBF4D1FC46B8E

View File

@ -2,6 +2,7 @@
, fetchFromGitHub
, cmake
, clingo
, catch2
}:
stdenv.mkDerivation rec {
@ -15,6 +16,10 @@ stdenv.mkDerivation rec {
sha256 = "1g2xkz9nsgqnrw3fdf5jchl16f0skj5mm32va61scc2yrchll166";
};
postPatch = ''
cp ${catch2}/include/catch2/catch.hpp libclingcon/tests/catch.hpp
'';
nativeBuildInputs = [ cmake clingo ];
cmakeFlags = [