xinetd: fix build w/glibc-2.32

This commit is contained in:
Maximilian Bosch 2020-08-22 19:36:46 +02:00
parent 7cb4052794
commit 453add53dc
No known key found for this signature in database
GPG Key ID: 091DBF4D1FC46B8E

View File

@ -1,4 +1,4 @@
{ fetchurl, fetchpatch, stdenv }:
{ fetchurl, fetchpatch, stdenv, libtirpc }:
stdenv.mkDerivation rec {
name = "xinetd-2.3.15";
@ -16,6 +16,11 @@ stdenv.mkDerivation rec {
})
];
buildInputs = [ libtirpc ];
NIX_CFLAGS_COMPILE = [ "-I${libtirpc.dev}/include/tirpc" ];
NIX_LDFLAGS = [ "-ltirpc" ];
meta = {
description = "Secure replacement for inetd";
platforms = stdenv.lib.platforms.linux;