summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBobby Rong <rjl931189261@126.com>2022-07-04 13:41:19 +0800
committergithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2022-07-04 13:42:01 +0000
commit8f75281021bfc82952c239e84532ff30bdf613d7 (patch)
treed295ebc6f7ee76f6f81e29bc92e0b0b8d6736867
parentpantheon.gala: fix initial alt-tab switcher indicator visibility (diff)
downloadnixpkgs-origin/backport-180064-to-release-22.05.tar.gz
pantheon.granite7: fix large height bug for MessageDialogorigin/backport-180064-to-release-22.05
(cherry picked from commit 6841314b45158eb8251b4fa98ce576bf13aa64c2)
-rw-r--r--pkgs/desktops/pantheon/granite/7/default.nix11
1 files changed, 11 insertions, 0 deletions
diff --git a/pkgs/desktops/pantheon/granite/7/default.nix b/pkgs/desktops/pantheon/granite/7/default.nix
index 08b7548167b2..c9737b9c1a41 100644
--- a/pkgs/desktops/pantheon/granite/7/default.nix
+++ b/pkgs/desktops/pantheon/granite/7/default.nix
@@ -1,6 +1,7 @@
{ lib
, stdenv
, fetchFromGitHub
+, fetchpatch
, nix-update-script
, python3
, meson
@@ -29,6 +30,16 @@ stdenv.mkDerivation rec {
sha256 = "sha256-fuyjQDH3C8qRYuAfQDDeW3aSWVTLtGzMAjcuAHCB1Zw=";
};
+ patches = [
+ # MessageDialog: Fix large height bug
+ # https://github.com/elementary/granite/pull/616
+ (fetchpatch {
+ url = "https://github.com/elementary/granite/commit/28e9b60fc8257b2d8e76412518e96a7e03efc6e4.patch";
+ sha256 = "sha256-3VH5bhX8tuNR3Iabz3JjkLfVVyO5eSnYacFgdqurU0A=";
+ excludes = [ "data/granite.appdata.xml.in" ];
+ })
+ ];
+
nativeBuildInputs = [
gettext
gobject-introspection