diff options
Diffstat (limited to 'pkgs/development/tools/misc/slint-lsp/default.nix')
-rw-r--r-- | pkgs/development/tools/misc/slint-lsp/default.nix | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/pkgs/development/tools/misc/slint-lsp/default.nix b/pkgs/development/tools/misc/slint-lsp/default.nix index 2211b5211d6a6..23fc5cc25e377 100644 --- a/pkgs/development/tools/misc/slint-lsp/default.nix +++ b/pkgs/development/tools/misc/slint-lsp/default.nix @@ -6,11 +6,7 @@ , cmake , fontconfig , libGL -, libxcb -, libX11 -, libXcursor -, libXi -, libXrandr +, xorg , libxkbcommon , wayland # Darwin Frameworks @@ -24,7 +20,7 @@ }: let - rpathLibs = [ fontconfig libGL libxcb libX11 libXcursor libXrandr libXi ] + rpathLibs = [ fontconfig libGL xorg.libxcb xorg.libX11 xorg.libXcursor xorg.libXrandr xorg.libXi ] ++ lib.optionals stdenv.isLinux [ libxkbcommon wayland ]; in rustPlatform.buildRustPackage rec { @@ -39,7 +35,7 @@ rustPlatform.buildRustPackage rec { cargoSha256 = "sha256-9zbA9JXfLdosCU6gVsrsAyiyX8Qh6x5wMw1W4QKqbp4="; nativeBuildInputs = [ cmake pkg-config fontconfig ]; - buildInputs = rpathLibs ++ [ libxcb.dev ] + buildInputs = rpathLibs ++ [ xorg.libxcb.dev ] ++ lib.optionals stdenv.isDarwin [ AppKit CoreGraphics |