Commit 98df2b0a authored by BarrOff's avatar BarrOff
Browse files

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.
parent 4fee2cde
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
{ 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";