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.