From 679e8fa932c497eca8163dd4275010e9c4a61bc7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Fri, 21 Dec 2018 10:22:20 +0100 Subject: [PATCH] nss-pam-ldapd: fix build by disabling kerberos --- pkgs/tools/networking/nss-pam-ldapd/default.nix | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/pkgs/tools/networking/nss-pam-ldapd/default.nix b/pkgs/tools/networking/nss-pam-ldapd/default.nix index fc961675c7f1..b199d850f971 100644 --- a/pkgs/tools/networking/nss-pam-ldapd/default.nix +++ b/pkgs/tools/networking/nss-pam-ldapd/default.nix @@ -1,16 +1,19 @@ -{ stdenv, fetchurl, pkgconfig, openldap, python, pam, makeWrapper }: +{ stdenv, fetchurl +, pkgconfig, makeWrapper, autoreconfHook +, openldap, python, pam +}: stdenv.mkDerivation rec { name = "nss-pam-ldapd-${version}"; version = "0.9.10"; - + src = fetchurl { url = "https://arthurdejong.org/nss-pam-ldapd/${name}.tar.gz"; sha256 = "1cqamcr6qpgwxijlr6kg7jspjamjra8w0haan0qssn0yxn95d7c0"; }; - - nativeBuildInputs = [ pkgconfig ]; - buildInputs = [ makeWrapper python openldap pam ]; + + nativeBuildInputs = [ pkgconfig makeWrapper autoreconfHook ]; + buildInputs = [ openldap pam python ]; preConfigure = '' substituteInPlace Makefile.in --replace "install-data-local: " "# install-data-local: " @@ -21,6 +24,7 @@ stdenv.mkDerivation rec { "--with-nslcd-socket=/run/nslcd/socket" "--with-nslcd-pidfile=/run/nslcd/nslcd.pid" "--with-pam-seclib-dir=$(out)/lib/security" + "--enable-kerberos=no" ]; postInstall = ''