From a94bff64f5af8d0014ff9170069e759a702bcffe Mon Sep 17 00:00:00 2001 From: Bobby Rong Date: Fri, 13 Jun 2025 23:00:32 +0800 Subject: [PATCH] pantheon.gala: 8.2.2 -> 8.2.3 https://github.com/elementary/gala/compare/8.2.2...8.2.3 --- pkgs/desktops/pantheon/desktop/gala/default.nix | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/pkgs/desktops/pantheon/desktop/gala/default.nix b/pkgs/desktops/pantheon/desktop/gala/default.nix index 63186bebd97d..97741d122cc8 100644 --- a/pkgs/desktops/pantheon/desktop/gala/default.nix +++ b/pkgs/desktops/pantheon/desktop/gala/default.nix @@ -2,6 +2,7 @@ stdenv, lib, fetchFromGitHub, + fetchpatch, desktop-file-utils, gettext, libxml2, @@ -29,19 +30,26 @@ stdenv.mkDerivation rec { pname = "gala"; - version = "8.2.2"; + version = "8.2.3"; src = fetchFromGitHub { owner = "elementary"; repo = pname; rev = version; - hash = "sha256-S71NryqJjWXZgyBj6q088bdjt/NnAEJ6oeUO2OMJ3Z4="; + hash = "sha256-6M9IWwrCaJoi7b5e4ltdyZfdT7KkOgsollHNKhLPr9U="; }; patches = [ # We look for plugins in `/run/current-system/sw/lib/` because # there are multiple plugin providers (e.g. gala and wingpanel). ./plugins-dir.patch + + # WindowStateSaver: fix crash + # https://github.com/elementary/gala/pull/2443 + (fetchpatch { + url = "https://github.com/elementary/gala/commit/9defe95ef412f87eb14e0efd8b87f2fde5378a76.patch"; + hash = "sha256-P50ahXFlTLyHMT+WdHdLU2qNdMUnfXF+CjoJRchmyzw="; + }) ]; depsBuildBuild = [ pkg-config ];