communi: fix on Darwin

Manual `wrapQtApp` call was previously removed in e0532475bca400362a2a488e31c86c6628a8e55a
but is required here because we work around `wrapQtAppsHook` trying to wrap
dylibs in app bundles.

OPNA2608 86ead2fe 348da227

+8 -1
+8 -1
pkgs/applications/networking/irc/communi/default.nix
··· 32 32 qtbase 33 33 ]; 34 34 35 + # libCommuni.dylib is installed in $out/Applications/Communi.app/Contents/Frameworks/ on Darwin 36 + # Wrapper hook thinks it's a binary because it's in $out/Applications, wraps it with a shell script 37 + # So we manually call the wrapper script on just the binary 38 + dontWrapQtApps = stdenv.isDarwin; 39 + 35 40 preConfigure = '' 36 41 export QMAKEFEATURES=${libcommuni}/features 37 42 ''; ··· 51 56 install_name_tool \ 52 57 -add_rpath @executable_path/../Frameworks \ 53 58 $out/Applications/Communi.app/Contents/MacOS/Communi 59 + 60 + # Do not remove until wrapQtAppsHook doesn't wrap dylibs in app bundles anymore 61 + wrapQtApp $out/Applications/Communi.app/Contents/MacOS/Communi 54 62 '' else '' 55 63 substituteInPlace "$out/share/applications/communi.desktop" \ 56 64 --replace "/usr/bin" "$out/bin" ··· 66 74 license = licenses.bsd3; 67 75 maintainers = with maintainers; [ hrdinka ]; 68 76 platforms = platforms.all; 69 - broken = stdenv.isDarwin; 70 77 }; 71 78 }