cinnamon.xapp: Backport a crash fix for GLib 2.76.0

ref: https://bugs.archlinux.org/task/77892
This commit is contained in:
Bobby Rong 2023-03-22 08:24:24 +08:00 committed by GitHub
parent 6664a6b76e
commit 3c2e5906d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,5 @@
{ fetchFromGitHub
, fetchpatch
, glib
, gobject-introspection
, gtk3
@ -33,6 +34,15 @@ stdenv.mkDerivation rec {
hash = "sha256-etB+q7FIwbApTUk8RohAy3kHX8Vb4cSY/qkvhj94yTM=";
};
patches = [
# xapp-sn-watcher crashes on cinnamon with glib 2.76.0
# https://github.com/linuxmint/xapp/issues/165
(fetchpatch {
url = "https://github.com/linuxmint/xapp/commit/3ef9861d6228c2061fbde2c0554be5ae6f42befa.patch";
sha256 = "sha256-7hYXA43UQpBLLjRVPoACc8xdhKyKnt3cDUBL4PhEtJY=";
})
];
nativeBuildInputs = [
meson
ninja