about summary refs log tree commit diff
path: root/pkgs/desktops/pantheon/apps/elementary-terminal/default.nix
diff options
context:
space:
mode:
authorTor Hedin Brønner <torhedinbronner@gmail.com>2020-03-19 15:06:07 +0100
committerJan Tojnar <jtojnar@gmail.com>2020-03-24 07:11:21 +0100
commit04dbbfc2c2eee533012765974dd1024e98b4b6e6 (patch)
tree9d7c31b9ddfcda5940750ce05ea8615d63e7438b /pkgs/desktops/pantheon/apps/elementary-terminal/default.nix
parent385f8189a86beb1ea8486bcbc3feaf5782510c52 (diff)
pantheon.elementary-terminal: fix build with vte-2.91
Diffstat (limited to 'pkgs/desktops/pantheon/apps/elementary-terminal/default.nix')
-rw-r--r--pkgs/desktops/pantheon/apps/elementary-terminal/default.nix11
1 files changed, 10 insertions, 1 deletions
diff --git a/pkgs/desktops/pantheon/apps/elementary-terminal/default.nix b/pkgs/desktops/pantheon/apps/elementary-terminal/default.nix
index 27bcb21a006e0..7ebdbd9b5913a 100644
--- a/pkgs/desktops/pantheon/apps/elementary-terminal/default.nix
+++ b/pkgs/desktops/pantheon/apps/elementary-terminal/default.nix
@@ -1,5 +1,6 @@
 { stdenv
 , fetchFromGitHub
+, fetchpatch
 , pantheon
 , pkgconfig
 , meson
@@ -37,6 +38,14 @@ stdenv.mkDerivation rec {
     };
   };
 
+  patches = [
+    # fix build with vte-2.91 https://github.com/elementary/terminal/pull/488
+    (fetchpatch {
+      url = "https://github.com/elementary/terminal/commit/48da5328cefdc481a3ac76fbdd771096f542d55a.patch";
+      sha256 = "1y4043jxb0qzd3pp28kdij2yj1p9pg158il7q3aq1sf7c474gz4d";
+    })
+  ];
+
   nativeBuildInputs = [
     appstream
     desktop-file-utils
@@ -72,7 +81,7 @@ stdenv.mkDerivation rec {
       A super lightweight, beautiful, and simple terminal. Comes with sane defaults, browser-class tabs, sudo paste protection,
       smart copy/paste, and little to no configuration.
     '';
-    homepage = https://github.com/elementary/terminal;
+    homepage = "https://github.com/elementary/terminal";
     license = licenses.lgpl3;
     platforms = platforms.linux;
     maintainers = pantheon.maintainers;