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:
parent
3b9fbfc162
commit
34f3ef2c4d
@ -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 = ''
|
||||
|
Loading…
Reference in New Issue
Block a user