about summary refs log tree commit diff
path: root/pkgs/development/libraries/vte/default.nix
diff options
context:
space:
mode:
authorWeijia Wang <9713184+wegank@users.noreply.github.com>2022-10-14 19:20:05 +0200
committerWeijia Wang <9713184+wegank@users.noreply.github.com>2022-10-14 19:20:05 +0200
commitacd30963e8db0fbf9df56d5fc2df6dff878295d2 (patch)
tree80796ed34b18edcce5249c987fa32da411fb91b8 /pkgs/development/libraries/vte/default.nix
parent86872d31b1f8379c4d62aacfa18bd5a9d7530447 (diff)
vte: fix build on darwin
Diffstat (limited to 'pkgs/development/libraries/vte/default.nix')
-rw-r--r--pkgs/development/libraries/vte/default.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/development/libraries/vte/default.nix b/pkgs/development/libraries/vte/default.nix
index 6ec3acebd6e15..8fa3c08622488 100644
--- a/pkgs/development/libraries/vte/default.nix
+++ b/pkgs/development/libraries/vte/default.nix
@@ -48,6 +48,11 @@ stdenv.mkDerivation rec {
       url = "https://git.alpinelinux.org/aports/plain/community/vte3/fix-W_EXITCODE.patch?id=4d35c076ce77bfac7655f60c4c3e4c86933ab7dd";
       sha256 = "FkVyhsM0mRUzZmS2Gh172oqwcfXv6PyD6IEgjBhy2uU=";
     })
+    # error: implicit declaration of function 'cfmakeraw' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
+    (fetchpatch {
+      url = "https://gitlab.gnome.org/GNOME/vte/-/commit/1f1f177ff797ac2bb453168951135865cfded900.patch";
+      sha256 = "sha256-VRVhq8JAshtcFejJkNUpMilo7tLgcojlEnCTrAtGVa0=";
+    })
   ];
 
   nativeBuildInputs = [