* Purity: nss_ldap build failed when /etc/ldap.conf did not exist.
svn path=/nixpkgs/trunk/; revision=11271
This commit is contained in:
parent
438f35dac0
commit
71d50c6b25
@ -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
|
||||
";
|
||||
|
Loading…
x
Reference in New Issue
Block a user