Unverified Commit 4e07a588 authored by Bobby Rong's avatar Bobby Rong Committed by GitHub
Browse files

xdg-desktop-portal-xapp: Fix crashes on non-Cinnamon desktops (#457570)

parents 4b7f3141 7cf8504f
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -96,6 +96,10 @@ stdenv.mkDerivation rec {
  # Fix gtk3 module target dir. Proper upstream solution should be using define_variable.
  env.PKG_CONFIG_GTK__3_0_LIBDIR = "${placeholder "out"}/lib";

  preFixup = ''
    wrapGApp $out/lib/xapps/xapp-sn-watcher
  '';

  meta = with lib; {
    homepage = "https://github.com/linuxmint/xapp";
    description = "Cross-desktop libraries and common resources";
+2 −1
Original line number Diff line number Diff line
@@ -11,8 +11,8 @@
  gtk3,
  gsettings-desktop-schemas,
  mate,
  xdg-desktop-portal,
  xapp,
  xdg-desktop-portal,
}:

stdenv.mkDerivation rec {
@@ -39,6 +39,7 @@ stdenv.mkDerivation rec {
    gtk3
    gsettings-desktop-schemas # org.gnome.system.location
    mate.mate-desktop # org.mate.background
    xapp # org.x.apps.portal
    xdg-desktop-portal
  ];