diff options
author | Shea Levy <shea@shealevy.com> | 2017-09-21 08:18:45 -0600 |
---|---|---|
committer | Shea Levy <shea@shealevy.com> | 2017-09-21 08:18:45 -0600 |
commit | c3b41a77e65107526a7919e4b3a0e9961bb6765b (patch) | |
tree | fada5ffc730db36740a4e233c2ed79af0c152c4f /pkgs/development/libraries/openldap | |
parent | e0ef28c12df6fe12ccfc1c29dcf4c9bb62891092 (diff) | |
download | nixlib-c3b41a77e65107526a7919e4b3a0e9961bb6765b.tar nixlib-c3b41a77e65107526a7919e4b3a0e9961bb6765b.tar.gz nixlib-c3b41a77e65107526a7919e4b3a0e9961bb6765b.tar.bz2 nixlib-c3b41a77e65107526a7919e4b3a0e9961bb6765b.tar.lz nixlib-c3b41a77e65107526a7919e4b3a0e9961bb6765b.tar.xz nixlib-c3b41a77e65107526a7919e4b3a0e9961bb6765b.tar.zst nixlib-c3b41a77e65107526a7919e4b3a0e9961bb6765b.zip |
openldap: Use a global localstatedir
Diffstat (limited to 'pkgs/development/libraries/openldap')
-rw-r--r-- | pkgs/development/libraries/openldap/default.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/development/libraries/openldap/default.nix b/pkgs/development/libraries/openldap/default.nix index 06288ce9a6b8..475ac496e7e8 100644 --- a/pkgs/development/libraries/openldap/default.nix +++ b/pkgs/development/libraries/openldap/default.nix @@ -28,12 +28,13 @@ stdenv.mkDerivation rec { "--disable-dependency-tracking" # speeds up one-time build "--enable-modules" "--sysconfdir=/etc" + "--localstatedir=/var" "--enable-crypt" ] ++ 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" ]; + installFlags = [ "sysconfdir=$(out)/etc" "localstatedir=$(out)/var" ]; # 1. Fixup broken libtool # 2. Libraries left in the build location confuse `patchelf --shrink-rpath` |