forked from mirrors/nixpkgs
rustdesk: migrate to bindgenHook
This commit is contained in:
parent
1a89cfae1f
commit
e66453b831
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue