about summary refs log tree commit diff
path: root/pkgs/development/libraries
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2023-12-23 12:42:21 +0530
committerHarsh Shandilya <me@msfjarvis.dev>2023-12-23 12:42:21 +0530
commitaceb671300ddb6dc7f9baf7ab9e4b1dd761a4da6 (patch)
treec7ffed6fb96d86dffd44d69909e1e4e08c2b962d /pkgs/development/libraries
parent339eb826dc92518fc4ba37dee97d7db061a01f90 (diff)
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 38821c7d96306..03baa891b3b4d 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; {