about summary refs log tree commit diff
path: root/pkgs/development/libraries/egl-wayland
diff options
context:
space:
mode:
authorKiskae <Kiskae@users.noreply.github.com>2023-04-21 17:42:55 +0200
committerKiskae <Kiskae@users.noreply.github.com>2023-04-21 17:42:55 +0200
commit831f394239f37ecd6b6cdd5dc7b9d6767abc1393 (patch)
tree24936ad776ea5349a044f187ca6bcc48e4a1b331 /pkgs/development/libraries/egl-wayland
parent645bc49f34fa8eff95479f0345ff57e55b53437e (diff)
egl-wayland: backport wayland protocol fix
Diffstat (limited to 'pkgs/development/libraries/egl-wayland')
-rw-r--r--pkgs/development/libraries/egl-wayland/default.nix10
1 files changed, 10 insertions, 0 deletions
diff --git a/pkgs/development/libraries/egl-wayland/default.nix b/pkgs/development/libraries/egl-wayland/default.nix
index 1a8c0921a8071..140c09a1a16e2 100644
--- a/pkgs/development/libraries/egl-wayland/default.nix
+++ b/pkgs/development/libraries/egl-wayland/default.nix
@@ -1,6 +1,7 @@
 { lib
 , stdenv
 , fetchFromGitHub
+, fetchpatch
 , pkg-config
 , meson
 , ninja
@@ -53,6 +54,15 @@ in stdenv.mkDerivation rec {
     sha256 = "sha256-xb0d8spr4GoGZl/8C8BoPMPN7PAlzuQV11tEJbOQQ4U=";
   };
 
+  patches = [
+    # remove after next update
+    # https://github.com/NVIDIA/egl-wayland/pull/79
+    (fetchpatch {
+      url = "https://github.com/NVIDIA/egl-wayland/commit/13737c6af4c0a7cfef5ec9013a4382bbeb7b495c.patch";
+      hash = "sha256-EEqI6iJb+uv0HkhnauYNxSzny4YapTm73PLgK8A9Km8=";
+    })
+  ];
+
   depsBuildBuild = [
     pkg-config
   ];