dovecot: remove install_name_tool

No longer needed now that libclucene has the right install name.
This commit is contained in:
Matthew Bauer 2018-11-07 12:51:22 -06:00
parent 51251b446c
commit 51e8c7943c

View File

@ -34,13 +34,6 @@ stdenv.mkDerivation rec {
postInstall = ''
cp -r $out/$out/* $out
rm -rf $out/$(echo "$out" | cut -d "/" -f2)
'' + lib.optionalString stdenv.isDarwin ''
install_name_tool -change libclucene-shared.1.dylib \
${clucene_core_2}/lib/libclucene-shared.1.dylib \
$out/lib/dovecot/lib21_fts_lucene_plugin.so
install_name_tool -change libclucene-core.1.dylib \
${clucene_core_2}/lib/libclucene-core.1.dylib \
$out/lib/dovecot/lib21_fts_lucene_plugin.so
'';
patches = [