rpcbind: Fix build with libnsl

This commit is contained in:
Tuomas Tynkkynen 2017-11-07 21:34:51 +02:00
parent 15e42939cc
commit 0364cf6620

View File

@ -1,4 +1,4 @@
{ fetchurl, stdenv, pkgconfig, libtirpc
{ fetchurl, stdenv, pkgconfig, libnsl, libtirpc
, useSystemd ? true, systemd }:
stdenv.mkDerivation rec {
@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
./sunrpc.patch
];
buildInputs = [ libtirpc ]
buildInputs = [ libnsl libtirpc ]
++ stdenv.lib.optional useSystemd systemd;
configureFlags = [