From d4287637a5804ec26b4923d4286ee5a2ee80a2eb Mon Sep 17 00:00:00 2001 From: Cole Mickens Date: Sat, 7 Jan 2023 12:35:30 -0800 Subject: [PATCH] oculante: fix wayland support --- pkgs/applications/graphics/oculante/default.nix | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/graphics/oculante/default.nix b/pkgs/applications/graphics/oculante/default.nix index 94097afe7522..427253dfc3df 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; {