ayatana-indicator-messages: Don't reset GI_TYPELIB_PATH

ref: https://gitlab.gnome.org/GNOME/libsecret/-/merge_requests/141
This commit is contained in:
Bobby Rong 2024-04-11 21:13:56 +08:00 committed by Maxine Aubrey
parent 56cb094d83
commit 620991b7ef
No known key found for this signature in database
GPG Key ID: F6FE033DFCB899F7

View File

@ -50,6 +50,10 @@ stdenv.mkDerivation (finalAttrs: {
substituteInPlace libmessaging-menu/messaging-menu.pc.in \
--replace "\''${exec_prefix}/@CMAKE_INSTALL_LIBDIR@" '@CMAKE_INSTALL_FULL_LIBDIR@' \
--replace "\''${prefix}/@CMAKE_INSTALL_INCLUDEDIR@" '@CMAKE_INSTALL_FULL_INCLUDEDIR@'
# Fix tests with gobject-introspection 1.80 not installing GLib introspection data
substituteInPlace tests/CMakeLists.txt \
--replace-fail 'GI_TYPELIB_PATH=\"' 'GI_TYPELIB_PATH=\"$GI_TYPELIB_PATH$\{GI_TYPELIB_PATH\:+\:\}'
'' + lib.optionalString (!withDocumentation) ''
sed -i CMakeLists.txt \
'/add_subdirectory(doc)/d'