diff options
author | John Wiegley <johnw@newartisans.com> | 2014-05-05 20:53:32 -0500 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2014-05-05 20:53:32 -0500 |
commit | 2f971193cc1cc8132a66070a9665784903286146 (patch) | |
tree | d8f7c2f216786a5d5dc9cd5b2aa6c4258531a285 /pkgs/development/libraries/clucene-core | |
parent | 66bcd77f0ebdacb99ad54339945fb9a082f20df6 (diff) | |
download | nixpkgs-2f971193cc1cc8132a66070a9665784903286146.tar nixpkgs-2f971193cc1cc8132a66070a9665784903286146.tar.gz nixpkgs-2f971193cc1cc8132a66070a9665784903286146.tar.bz2 nixpkgs-2f971193cc1cc8132a66070a9665784903286146.tar.lz nixpkgs-2f971193cc1cc8132a66070a9665784903286146.tar.xz nixpkgs-2f971193cc1cc8132a66070a9665784903286146.tar.zst nixpkgs-2f971193cc1cc8132a66070a9665784903286146.zip |
Allow Dovecot to build with clucene, and on any Unix
Diffstat (limited to 'pkgs/development/libraries/clucene-core')
-rw-r--r-- | pkgs/development/libraries/clucene-core/2.x.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/development/libraries/clucene-core/2.x.nix b/pkgs/development/libraries/clucene-core/2.x.nix index 60e8da9c3fc..4173b75915c 100644 --- a/pkgs/development/libraries/clucene-core/2.x.nix +++ b/pkgs/development/libraries/clucene-core/2.x.nix @@ -20,6 +20,12 @@ stdenv.mkDerivation rec { ./Install-contribs-lib.patch ]; + postInstall = stdenv.lib.optionalString stdenv.isDarwin '' + install_name_tool -change libclucene-shared.1.dylib \ + $out/lib/libclucene-shared.1.dylib \ + $out/lib/libclucene-core.1.dylib + ''; + meta = { description = "Core library for full-featured text search engine"; longDescription = '' |