diff options
author | Tuomas Tynkkynen <tuomas@tuxera.com> | 2016-09-01 13:27:27 +0300 |
---|---|---|
committer | Tuomas Tynkkynen <tuomas@tuxera.com> | 2016-09-01 13:27:27 +0300 |
commit | 8c4aeb17808e6d33515bb9178eaca942c588b31d (patch) | |
tree | 202a33b2dd86ab28d168778b313f184a9ecc0bda /pkgs/development/libraries/openldap | |
parent | 003ab1d9fdaf2818a1e5a6e53825d31ac2e23621 (diff) | |
parent | 838c75398cc46cf2acbe144b1f3866d736abe430 (diff) | |
download | nixlib-8c4aeb17808e6d33515bb9178eaca942c588b31d.tar nixlib-8c4aeb17808e6d33515bb9178eaca942c588b31d.tar.gz nixlib-8c4aeb17808e6d33515bb9178eaca942c588b31d.tar.bz2 nixlib-8c4aeb17808e6d33515bb9178eaca942c588b31d.tar.lz nixlib-8c4aeb17808e6d33515bb9178eaca942c588b31d.tar.xz nixlib-8c4aeb17808e6d33515bb9178eaca942c588b31d.tar.zst nixlib-8c4aeb17808e6d33515bb9178eaca942c588b31d.zip |
Merge staging into master
Brings in: - changed output order for multiple outputs: https://github.com/NixOS/nixpkgs/pull/14766 - audit disabled by default https://github.com/NixOS/nixpkgs/pull/17916 Conflicts: pkgs/development/libraries/openldap/default.nix
Diffstat (limited to 'pkgs/development/libraries/openldap')
-rw-r--r-- | pkgs/development/libraries/openldap/default.nix | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/pkgs/development/libraries/openldap/default.nix b/pkgs/development/libraries/openldap/default.nix index aa55d03568e9..0e4d60062e4b 100644 --- a/pkgs/development/libraries/openldap/default.nix +++ b/pkgs/development/libraries/openldap/default.nix @@ -9,7 +9,7 @@ stdenv.mkDerivation rec { }; # TODO: separate "out" and "bin" - outputs = [ "dev" "out" "man" "docdev" ]; + outputs = [ "out" "dev" "man" "docdev" ]; enableParallelBuilding = true; @@ -22,18 +22,18 @@ stdenv.mkDerivation rec { ++ stdenv.lib.optional (cyrus_sasl == null) "--without-cyrus-sasl" ++ stdenv.lib.optional stdenv.isFreeBSD "--with-pic"; - # Workaround for the issue described in https://github.com/NixOS/patchelf/pull/98. - preConfigure = '' - export NIX_LDFLAGS_BEFORE+=" -rpath $out/lib" - ''; - - # Fixup broken libtool + # 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. + # FIXME: that one can be removed when https://github.com/NixOS/patchelf/pull/98 + # is in Nixpkgs patchelf. preFixup = '' sed -e 's,-lsasl2,-L${cyrus_sasl.out}/lib -lsasl2,' \ -e 's,-lssl,-L${openssl.out}/lib -lssl,' \ -i $out/lib/libldap.la -i $out/lib/libldap_r.la rm -rf $out/var + rm -r libraries/*/.libs ''; meta = with stdenv.lib; { |