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.
main
Thomas Gerbet 2 years ago
parent 9d5b5668ec
commit 647d48369a
  1. 3
      pkgs/applications/networking/compactor/default.nix

@ -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 = ''

Loading…
Cancel
Save