trafficserver: fix build w/glibc-2.34

Failing Hydra build: https://hydra.nixos.org/build/155205200
This commit is contained in:
Maximilian Bosch 2021-10-13 14:35:47 +02:00
parent c905ab58a2
commit 7c5781615f
No known key found for this signature in database
GPG key ID: 091DBF4D1FC46B8E

View file

@ -13,6 +13,7 @@
, python3
, xz
, zlib
, catch2
# recommended dependencies
, withHwloc ? true
, hwloc
@ -113,6 +114,8 @@ stdenv.mkDerivation rec {
tools/check-unused-dependencies
substituteInPlace configure --replace '/usr/bin/file' '${file}/bin/file'
cp ${catch2}/include/catch2/catch.hpp tests/include/catch.hpp
'' + lib.optionalString stdenv.isLinux ''
substituteInPlace configure \
--replace '/usr/include/linux' '${linuxHeaders}/include/linux'