xinetd: fix build w/glibc-2.32

gstqt5
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
1 changed files with 6 additions and 1 deletions

View File

@ -1,4 +1,4 @@
{ fetchurl, fetchpatch, stdenv }: { fetchurl, fetchpatch, stdenv, libtirpc }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "xinetd-2.3.15"; 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 = { meta = {
description = "Secure replacement for inetd"; description = "Secure replacement for inetd";
platforms = stdenv.lib.platforms.linux; platforms = stdenv.lib.platforms.linux;