gtk4: patch fixing g-c-c crashes

This commit is contained in:
Maxine Aubrey 2022-05-13 22:54:42 +02:00
parent bbc85350c6
commit 5d15a099b9
No known key found for this signature in database
GPG Key ID: F6FE033DFCB899F7

View File

@ -2,6 +2,7 @@
, stdenv
, substituteAll
, fetchurl
, fetchpatch
, pkg-config
, gettext
, graphene
@ -77,6 +78,15 @@ stdenv.mkDerivation rec {
sha256 = "pXrNDkSCmBcA/fhllsdBPLYe9H915HR/2oCegjG42Ww=";
};
patches = [
# Fix GNOME Control Center crash.
# https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/4670
(fetchpatch {
url = "https://gitlab.gnome.org/GNOME/gtk/-/commit/ae0166973795e750f08b89f9f0ef974d7ac48bc7.patch";
sha256 = "qPOplocE+RcTFIEveJe8YLKiUpe7o6CiA834rZpS0Fs=";
})
];
nativeBuildInputs = [
gettext
gobject-introspection