compactor: fix the build

The library Catch they bundle for the tests is a bit too old and does
not play well with recent glibc versions.
This commit is contained in:
Thomas Gerbet 2022-05-13 11:48:28 +02:00
parent 9d5b5668ec
commit 647d48369a

View file

@ -1,6 +1,6 @@
{ lib, stdenv, fetchFromGitHub
, asciidoctor, autoreconfHook, pkg-config
, boost, libctemplate, libmaxminddb, libpcap, libtins, openssl, protobuf, xz, zlib
, boost, libctemplate, libmaxminddb, libpcap, libtins, openssl, protobuf, xz, zlib, catch2
, cbor-diag, cddl, diffutils, file, mktemp, netcat, tcpdump, wireshark-cli
}:
@ -35,6 +35,7 @@ stdenv.mkDerivation rec {
postPatch = ''
patchShebangs test-scripts/
cp ${catch2}/include/catch2/catch.hpp tests/catch.hpp
'';
preConfigure = ''