autofs5: enable NIS support

The current package does not support reading NIS maps of autofs
templates. Adding the libnsl.dev package to buildInputs lets the
configure script detect rpcsvc/ypclnt.h which enables support for NIS.

(cherry picked from commit 98df2b0a67)
This commit is contained in:
BarrOff 2024-11-10 19:03:15 +01:00 committed by github-actions[bot]
parent a5a963c1a2
commit 94663b4566

View File

@ -1,6 +1,6 @@
{ lib, stdenv, fetchurl, flex, bison, linuxHeaders, libtirpc, mount, umount, nfs-utils, e2fsprogs
, libxml2, libkrb5, kmod, openldap, sssd, cyrus_sasl, openssl, rpcsvc-proto, pkgconf
, fetchpatch
, fetchpatch, libnsl
}:
stdenv.mkDerivation rec {
@ -48,9 +48,9 @@ stdenv.mkDerivation rec {
'';
buildInputs = [ linuxHeaders libtirpc libxml2 libkrb5 kmod openldap sssd
openssl cyrus_sasl rpcsvc-proto ];
openssl cyrus_sasl rpcsvc-proto libnsl ];
nativeBuildInputs = [ flex bison pkgconf ];
nativeBuildInputs = [ flex bison pkgconf libnsl.dev ];
meta = {
description = "Kernel-based automounter";