mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
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:
parent
a5a963c1a2
commit
94663b4566
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user