From 647d48369a244fe5452c5489d3d58bd2ec3316c2 Mon Sep 17 00:00:00 2001 From: Thomas Gerbet Date: Fri, 13 May 2022 11:48:28 +0200 Subject: [PATCH] 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. --- pkgs/applications/networking/compactor/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/networking/compactor/default.nix b/pkgs/applications/networking/compactor/default.nix index 459b5652089..de96a3ddaa8 100644 --- a/pkgs/applications/networking/compactor/default.nix +++ b/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 = ''