nixpkgs/nixos
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
..
doc Merge pull request #168879 from aidalgol/pass-secret-service-systemd-unit 2022-07-17 16:45:27 +02:00
lib add hub mode comment 2022-07-21 16:34:09 +02:00
maintainers maintainers/create-amis.sh: Add more AWS regions 2022-05-17 10:20:30 +01:00
modules Merge staging-next into staging 2022-07-22 00:03:25 +00:00
tests openldap: load client config from /etc, not the nix store 2022-07-22 03:19:46 +02:00
COPYING
default.nix
README
release-combined.nix Revert "release: add tests.packageTestsForChannelBlockers.curl.withCheck as a channel blocker" 2022-07-12 15:00:38 +03:00
release-small.nix Revert "release: add tests.packageTestsForChannelBlockers.curl.withCheck as a channel blocker" 2022-07-12 15:00:38 +03:00
release.nix nixos/release: add proxmox LXC and VMA 2022-07-13 10:44:41 +02:00

*** NixOS ***

NixOS is a Linux distribution based on the purely functional package
management system Nix.  More information can be found at
https://nixos.org/nixos and in the manual in doc/manual.