about summary refs log tree commit diff
path: root/pkgs/development/libraries
diff options
context:
space:
mode:
authorNick Cao <nickcao@nichi.co>2023-12-28 12:25:41 -0500
committerGitHub <noreply@github.com>2023-12-28 12:25:41 -0500
commitd0f2d02d8a595ffeca44d6a08e8d5a76141ae424 (patch)
treeb4a11b8f8acce724b20262e1c8ea8964953e7b47 /pkgs/development/libraries
parentb66ca3e9c946078f577a2098c97ee1e50fac9ec7 (diff)
parentaceb671300ddb6dc7f9baf7ab9e4b1dd761a4da6 (diff)
downloadnixlib-d0f2d02d8a595ffeca44d6a08e8d5a76141ae424.tar
nixlib-d0f2d02d8a595ffeca44d6a08e8d5a76141ae424.tar.gz
nixlib-d0f2d02d8a595ffeca44d6a08e8d5a76141ae424.tar.bz2
nixlib-d0f2d02d8a595ffeca44d6a08e8d5a76141ae424.tar.lz
nixlib-d0f2d02d8a595ffeca44d6a08e8d5a76141ae424.tar.xz
nixlib-d0f2d02d8a595ffeca44d6a08e8d5a76141ae424.tar.zst
nixlib-d0f2d02d8a595ffeca44d6a08e8d5a76141ae424.zip
Merge pull request #276228 from msfjarvis/hs/fix-glfw-wayland-minecraft
glfw: add missing substitutions in wayland-minecraft edition
Diffstat (limited to 'pkgs/development/libraries')
-rw-r--r--pkgs/development/libraries/glfw/3.x-wayland-minecraft.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/pkgs/development/libraries/glfw/3.x-wayland-minecraft.nix b/pkgs/development/libraries/glfw/3.x-wayland-minecraft.nix
index 38821c7d9630..03baa891b3b4 100644
--- a/pkgs/development/libraries/glfw/3.x-wayland-minecraft.nix
+++ b/pkgs/development/libraries/glfw/3.x-wayland-minecraft.nix
@@ -43,6 +43,15 @@ stdenv.mkDerivation {
 
     substituteInPlace src/wl_init.c \
       --replace "libdecor-0.so.0" "${lib.getLib libdecor}/lib/libdecor-0.so.0"
+
+    substituteInPlace src/wl_init.c \
+      --replace "libwayland-client.so.0" "${lib.getLib wayland}/lib/libwayland-client.so.0"
+
+    substituteInPlace src/wl_init.c \
+      --replace "libwayland-cursor.so.0" "${lib.getLib wayland}/lib/libwayland-cursor.so.0"
+
+    substituteInPlace src/wl_init.c \
+      --replace "libwayland-egl.so.1" "${lib.getLib wayland}/lib/libwayland-egl.so.1"
   '';
 
   meta = with lib; {