trafficserver: fix build w/glibc-2.34

Failing Hydra build: https://hydra.nixos.org/build/155205200
main
Maximilian Bosch 3 years ago
parent c905ab58a2
commit 7c5781615f
No known key found for this signature in database
GPG Key ID: 091DBF4D1FC46B8E
  1. 3
      pkgs/servers/http/trafficserver/default.nix

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

Loading…
Cancel
Save