From 98df2b0a6703a56470754a21bcf07d6d5ff9aa2d Mon Sep 17 00:00:00 2001 From: BarrOff <58253563+BarrOff@users.noreply.github.com> Date: Sun, 10 Nov 2024 19:03:15 +0100 Subject: [PATCH] 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. --- pkgs/by-name/au/autofs5/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/au/autofs5/package.nix b/pkgs/by-name/au/autofs5/package.nix index d308ba6594e2..e6595ead5466 100644 --- a/pkgs/by-name/au/autofs5/package.nix +++ b/pkgs/by-name/au/autofs5/package.nix @@ -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";