nixpkgs/pkgs
Dan Callaghan b30534eb02 openldap: load client config from /etc, not the nix store
We want Openldap clients to load /etc/ldap.conf at runtime, not
${pkgs.openldap}/etc/ldap.conf which is always a sample config.

Pass sysconfdir=/etc at compile time, so that /etc/krb5.conf is embedded
in the library as the path of its config file.

Pass sysconfdir=${out}/etc at install time, so that the sample configs
and schema files are correctly included in the build output.

This hack works because the Makefiles are not smart enough to notice
that the sysconfdir variable has changed across invocations -- because
nobody ever writes their Makefiles to be that smart. :-)

Fixes #181937.
2022-07-22 03:19:46 +02:00
..
applications Merge master into staging-next 2022-07-22 00:02:40 +00:00
build-support maturin: 0.12.9 -> 0.13.0 2022-07-21 22:35:32 +02:00
common-updater
data
desktops
development openldap: load client config from /etc, not the nix store 2022-07-22 03:19:46 +02:00
games
misc
os-specific Merge master into staging-next 2022-07-22 00:02:40 +00:00
pkgs-lib
servers Merge master into staging-next 2022-07-22 00:02:40 +00:00
shells
stdenv
test
tools Merge master into staging-next 2022-07-22 00:02:40 +00:00
top-level Merge master into staging-next 2022-07-22 00:02:40 +00:00