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
This commit is contained in:
Tuomas Tynkkynen 2017-11-07 20:38:41 +02:00
parent 3b9fbfc162
commit 34f3ef2c4d

View File

@ -1,4 +1,4 @@
{ fetchurl, stdenv }:
{ fetchurl, stdenv, libnsl }:
let
vanillaVersion = "7.6.q";
@ -22,6 +22,8 @@ in stdenv.mkDerivation rec {
patches="$(cat debian/patches/series | sed 's,^,debian/patches/,') $patches"
'';
buildInputs = [ libnsl ];
makeFlags = [ "STRINGS=" "REAL_DAEMON_DIR=$(out)/bin" "linux" ];
installPhase = ''