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.
This commit is contained in:
BarrOff 2024-11-10 19:03:15 +01:00
parent 4fee2cde56
commit 98df2b0a67

View File

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