lol

Merge pull request #266030 from nevivurn/feat/apt-cacher-ng-glibc

apt-cacher-ng: fix build for glibc >= 2.38

authored by

Peder Bergebakken Sundt and committed by
GitHub
32a49bf4 eb62077e

+12 -1
+12 -1
pkgs/servers/http/apt-cacher-ng/default.nix
··· 1 - { lib, stdenv 1 + { lib 2 + , stdenv 2 3 , bzip2 3 4 , cmake 4 5 , doxygen 5 6 , fetchurl 7 + , fetchpatch 6 8 , fuse 7 9 , libevent 8 10 , xz ··· 22 24 url = "https://ftp.debian.org/debian/pool/main/a/apt-cacher-ng/apt-cacher-ng_${version}.orig.tar.xz"; 23 25 sha256 = "0pwsj9rf6a6q7cnfbpcrfq2gjcy7sylqzqqr49g2zi39lrrh8533"; 24 26 }; 27 + 28 + patches = [ 29 + # this patch fixes the build for glibc >= 2.38 30 + (fetchpatch { 31 + name = "strlcpy-glibc238.patch"; 32 + url = "https://bugs.debian.org/cgi-bin/bugreport.cgi?att=0;bug=1052360;msg=10"; 33 + hash = "sha256-uhQj+ZcHCV36Tm0pF/+JG59bSaRdTZCrMcKL3YhZTk8="; 34 + }) 35 + ]; 25 36 26 37 nativeBuildInputs = [ cmake doxygen pkg-config ]; 27 38 buildInputs = [ bzip2 fuse libevent xz openssl systemd tcp_wrappers zlib c-ares ];