diff options
Diffstat (limited to 'pkgs/applications/graphics/oculante')
-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; { |