summary refs log tree commit diff
path: root/pkgs/os-specific/linux/nss_ldap
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/os-specific/linux/nss_ldap')
-rw-r--r--pkgs/os-specific/linux/nss_ldap/default.nix8
1 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/os-specific/linux/nss_ldap/default.nix b/pkgs/os-specific/linux/nss_ldap/default.nix
index f6628593150..bbf63e43c8b 100644
--- a/pkgs/os-specific/linux/nss_ldap/default.nix
+++ b/pkgs/os-specific/linux/nss_ldap/default.nix
@@ -1,15 +1,15 @@
 {stdenv, fetchurl, openldap}:
    
 stdenv.mkDerivation {
-  name = "nss_ldap-254";
+  name = "nss_ldap-260";
    
   src = fetchurl {
-    url = http://www.padl.com/download/nss_ldap-254.tar.gz;
-    md5 = "00475b790d3aff3ccd40a1ab4520965e";
+    url = http://www.padl.com/download/nss_ldap-260.tar.gz;
+    sha256 = "0kn022js39mqmy7g5ba911q46223vk7vcf51x28rbl86lp32zv4v";
   };
 
   preInstall = "
-    installFlagsArray=(INST_UID=$(id -u) INST_GID=$(id -g) LIBC_VERS=2.5 NSS_VERS=2)
+    installFlagsArray=(INST_UID=$(id -u) INST_GID=$(id -g) LIBC_VERS=2.5 NSS_VERS=2 NSS_LDAP_PATH_CONF=$out/etc/ldap.conf)
     substituteInPlace Makefile --replace '/usr$(libdir)' $TMPDIR
     ensureDir $out/etc
   ";