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 ];