tcp_wrappers: Use libnsl to fix build after new glibc
https://hydra.nixos.org/build/63759192
https://sourceware.org/ml/libc-alpha/2017-02/msg00478.html
commit34f3ef2c4d590a85ccebddf9537a5315abd9c137
authorTuomas Tynkkynen <tuomas.tynkkynen@iki.fi>
dateTue 7 Nov 2017, 20:38 (9 years ago)
parent3b9fbfc
pkgs/os-specific/linux/tcp-wrappers/default.nix+3−1
@@ -1,4 +1,4 @@
1−{ fetchurl, stdenv }:
1+{ fetchurl, stdenv, libnsl }:
22
33let
44 vanillaVersion = "7.6.q";
@@ -22,6 +22,8 @@ in stdenv.mkDerivation rec {
2222 patches="$(cat debian/patches/series | sed 's,^,debian/patches/,') $patches"
2323 '';
2424
25+ buildInputs = [ libnsl ];
26+
2527 makeFlags = [ "STRINGS=" "REAL_DAEMON_DIR=$(out)/bin" "linux" ];
2628
2729 installPhase = ''