diff options
author | Maxine Aubrey <maxeaubrey@gmail.com> | 2022-05-13 22:54:42 +0200 |
---|---|---|
committer | Maxine Aubrey <maxeaubrey@gmail.com> | 2022-05-13 23:18:12 +0200 |
commit | 5d15a099b94be16ee619053ed6bcbddefd561a19 (patch) | |
tree | 84f0f5dfdd3173bc045202580c89ad18d28269c8 /pkgs/development/libraries/gtk | |
parent | bbc85350c67cead707b35ca0eb31dd5059b099ec (diff) |
gtk4: patch fixing g-c-c crashes
Diffstat (limited to 'pkgs/development/libraries/gtk')
-rw-r--r-- | pkgs/development/libraries/gtk/4.x.nix | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/pkgs/development/libraries/gtk/4.x.nix b/pkgs/development/libraries/gtk/4.x.nix index e59e471a51eb7..a93459c1f8747 100644 --- a/pkgs/development/libraries/gtk/4.x.nix +++ b/pkgs/development/libraries/gtk/4.x.nix @@ -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 |