mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 09:23:01 +00:00
trafficserver: fix build w/glibc-2.34
Failing Hydra build: https://hydra.nixos.org/build/155205200
This commit is contained in:
parent
c905ab58a2
commit
7c5781615f
@ -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…
Reference in New Issue
Block a user