diff options
author | Alexander Kahl <e-user@fsfe.org> | 2017-01-10 17:41:09 +0100 |
---|---|---|
committer | Vladimír Čunát <vcunat@gmail.com> | 2017-01-10 17:41:09 +0100 |
commit | db90ac6fff17ca83dccbb45d7f7818f07e3fa731 (patch) | |
tree | 9166e14c933a741b8213749ff31f4cbc70720713 /pkgs/development/libraries/openldap | |
parent | ee2edd4527e18ae942609e718018e4072046f7a8 (diff) | |
download | nixlib-db90ac6fff17ca83dccbb45d7f7818f07e3fa731.tar nixlib-db90ac6fff17ca83dccbb45d7f7818f07e3fa731.tar.gz nixlib-db90ac6fff17ca83dccbb45d7f7818f07e3fa731.tar.bz2 nixlib-db90ac6fff17ca83dccbb45d7f7818f07e3fa731.tar.lz nixlib-db90ac6fff17ca83dccbb45d7f7818f07e3fa731.tar.xz nixlib-db90ac6fff17ca83dccbb45d7f7818f07e3fa731.tar.zst nixlib-db90ac6fff17ca83dccbb45d7f7818f07e3fa731.zip |
openldap: load configuration files from global sysconfdir /etc (#21648)
Diffstat (limited to 'pkgs/development/libraries/openldap')
-rw-r--r-- | pkgs/development/libraries/openldap/default.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/development/libraries/openldap/default.nix b/pkgs/development/libraries/openldap/default.nix index cdef4d9a49f4..05c03dcd8424 100644 --- a/pkgs/development/libraries/openldap/default.nix +++ b/pkgs/development/libraries/openldap/default.nix @@ -19,10 +19,13 @@ stdenv.mkDerivation rec { [ "--enable-overlays" "--disable-dependency-tracking" # speeds up one-time build "--enable-modules" + "--sysconfdir=/etc" ] ++ stdenv.lib.optional (openssl == null) "--without-tls" ++ stdenv.lib.optional (cyrus_sasl == null) "--without-cyrus-sasl" ++ stdenv.lib.optional stdenv.isFreeBSD "--with-pic"; + installFlags = [ "sysconfdir=$(out)/etc" ]; + # 1. Fixup broken libtool # 2. Libraries left in the build location confuse `patchelf --shrink-rpath` # Delete these to let patchelf discover the right path instead. |