about summary refs log tree commit diff
path: root/pkgs/applications/graphics/oculante
diff options
context:
space:
mode:
authorCole Mickens <cole.mickens@gmail.com>2023-01-07 12:35:30 -0800
committerCole Mickens <cole.mickens@gmail.com>2023-05-02 21:50:44 -0600
commitd4287637a5804ec26b4923d4286ee5a2ee80a2eb (patch)
tree87e02b81ad890a86635093ff534ff5e9d7c898f7 /pkgs/applications/graphics/oculante
parent72453271bb8e9adb053407b1f7feff8412e53527 (diff)
oculante: fix wayland support
Diffstat (limited to 'pkgs/applications/graphics/oculante')
-rw-r--r--pkgs/applications/graphics/oculante/default.nix10
1 files changed, 8 insertions, 2 deletions
diff --git a/pkgs/applications/graphics/oculante/default.nix b/pkgs/applications/graphics/oculante/default.nix
index 94097afe75224..427253dfc3df0 100644
--- a/pkgs/applications/graphics/oculante/default.nix
+++ b/pkgs/applications/graphics/oculante/default.nix
@@ -11,6 +11,8 @@
 , libXrandr
 , libXi
 , libGL
+, libxkbcommon
+, wayland
 , stdenv
 , gtk3
 , darwin
@@ -45,18 +47,22 @@ rustPlatform.buildRustPackage rec {
     openssl
     fontconfig
   ] ++ lib.optionals stdenv.isLinux [
+    libGL
+    libX11
     libX11
     libXcursor
     libXi
     libXrandr
-    libGL
     gtk3
+
+    libxkbcommon
+    wayland
   ] ++ lib.optionals stdenv.isDarwin [
     darwin.libobjc
   ];
 
   postFixup = lib.optionalString stdenv.isLinux ''
-    patchelf $out/bin/oculante --add-rpath ${lib.makeLibraryPath [ libGL ]}
+    patchelf $out/bin/oculante --add-rpath ${lib.makeLibraryPath [ libxkbcommon libX11 ]}
   '';
 
   meta = with lib; {