diff options
author | Cole Mickens <cole.mickens@gmail.com> | 2023-01-07 12:35:30 -0800 |
---|---|---|
committer | Cole Mickens <cole.mickens@gmail.com> | 2023-05-02 21:50:44 -0600 |
commit | d4287637a5804ec26b4923d4286ee5a2ee80a2eb (patch) | |
tree | 87e02b81ad890a86635093ff534ff5e9d7c898f7 | |
parent | 72453271bb8e9adb053407b1f7feff8412e53527 (diff) |
oculante: fix wayland support
-rw-r--r-- | pkgs/applications/graphics/oculante/default.nix | 10 |
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; { |