summary refs log tree commit diff
diff options
context:
space:
mode:
authorBobby Rong <rjl931189261@126.com>2022-07-04 13:41:19 +0800
committerBobby Rong <rjl931189261@126.com>2022-07-04 13:41:30 +0800
commit6841314b45158eb8251b4fa98ce576bf13aa64c2 (patch)
tree6916dbf49e314cd34f34c9e30db16cc6435b0e89
parent513b8a9d2b7650e3d6ba33edc739245fbce6fff7 (diff)
downloadnixpkgs-6841314b45158eb8251b4fa98ce576bf13aa64c2.tar
nixpkgs-6841314b45158eb8251b4fa98ce576bf13aa64c2.tar.gz
nixpkgs-6841314b45158eb8251b4fa98ce576bf13aa64c2.tar.bz2
nixpkgs-6841314b45158eb8251b4fa98ce576bf13aa64c2.tar.lz
nixpkgs-6841314b45158eb8251b4fa98ce576bf13aa64c2.tar.xz
nixpkgs-6841314b45158eb8251b4fa98ce576bf13aa64c2.tar.zst
nixpkgs-6841314b45158eb8251b4fa98ce576bf13aa64c2.zip
pantheon.granite7: fix large height bug for MessageDialog
-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 08b7548167b..c9737b9c1a4 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