summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/rangehttpserver
diff options
context:
space:
mode:
authorDan Callaghan <djc@djc.id.au>2022-07-19 22:31:11 +1000
committerDan Callaghan <djc@djc.id.au>2022-07-19 22:32:45 +1000
commitbe2175dc949a34334f1ad9a81d95279ead470bb1 (patch)
tree0056146e17b138b6239b32bbe252dbd9b7847b9c /pkgs/development/python-modules/rangehttpserver
parentd2db10786f27619d5519b12b03fb10dc8ca95e59 (diff)
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.
Diffstat (limited to 'pkgs/development/python-modules/rangehttpserver')
0 files changed, 0 insertions, 0 deletions