Skip to content

Commit

Permalink
openldap: load configuration files from global sysconfdir /etc (#21648)
Browse files Browse the repository at this point in the history
  • Loading branch information
outergod authored and vcunat committed Jan 10, 2017
1 parent ee2edd4 commit db90ac6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkgs/development/libraries/openldap/default.nix
Expand Up @@ -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.
Expand Down

0 comments on commit db90ac6

Please sign in to comment.