From e66453b831fc760361e694468f267bb408a142af Mon Sep 17 00:00:00 2001 From: Weijia Wang <9713184+wegank@users.noreply.github.com> Date: Sun, 28 May 2023 01:03:22 +0300 Subject: [PATCH] rustdesk: migrate to bindgenHook --- pkgs/applications/networking/remote/rustdesk/default.nix | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/pkgs/applications/networking/remote/rustdesk/default.nix b/pkgs/applications/networking/remote/rustdesk/default.nix index bb3b8ffed610..76f34cd68f23 100644 --- a/pkgs/applications/networking/remote/rustdesk/default.nix +++ b/pkgs/applications/networking/remote/rustdesk/default.nix @@ -20,7 +20,6 @@ , libyuv , libopus , libsciter -, llvmPackages , wrapGAppsHook , writeText }: @@ -41,8 +40,6 @@ rustPlatform.buildRustPackage rec { ./fix-for-rust-1.65.diff ]; - LIBCLANG_PATH = "${llvmPackages.libclang.lib}/lib"; - cargoLock = { lockFile = ./Cargo.lock; outputHashes = { @@ -98,7 +95,7 @@ rustPlatform.buildRustPackage rec { ln -s ${libyuv.out}/lib/* $VCPKG_ROOT/installed/${vcpkg_target}/lib/ ''; - nativeBuildInputs = [ pkg-config cmake makeWrapper copyDesktopItems yasm nasm clang wrapGAppsHook ]; + nativeBuildInputs = [ pkg-config cmake makeWrapper copyDesktopItems yasm nasm clang wrapGAppsHook rustPlatform.bindgenHook ]; buildInputs = [ alsa-lib pulseaudio libXfixes libxcb xdotool gtk3 libvpx libopus libXtst libyuv ]; # Checks require an active X display.