treewide: remove unused {lib,}clang from more build closures (#361298)

This commit is contained in:
Aleksana
2024-12-06 10:21:43 +08:00
committed by GitHub
5 changed files with 2 additions and 10 deletions
@@ -10,7 +10,6 @@
, zlib
, protobuf
, openssl
, libclang
, libcxx
, rocksdb_8_3
, rustfmt
@@ -75,7 +74,7 @@ rustPlatform.buildRustPackage rec {
nativeBuildInputs = [ pkg-config protobuf rustfmt perl rustPlatform.bindgenHook ];
buildInputs =
[ openssl zlib libclang hidapi ] ++ (lib.optionals stdenv.hostPlatform.isLinux [ udev ])
[ openssl zlib hidapi ] ++ (lib.optionals stdenv.hostPlatform.isLinux [ udev ])
++ lib.optionals stdenv.hostPlatform.isDarwin [ Security System Libsystem libcxx ];
strictDeps = true;
-2
View File
@@ -7,7 +7,6 @@
sqlite,
zlib,
stdenv,
clang,
darwin,
}:
@@ -31,7 +30,6 @@ rustPlatform.buildRustPackage rec {
nativeBuildInputs = [
pkg-config
clang
rustPlatform.bindgenHook
];
+1 -2
View File
@@ -1,6 +1,6 @@
{ lib, rustPlatform, fetchgit
, pkg-config, pixman, libcap_ng, cyrus_sasl
, libpulseaudio, libclang, gtk3, libusbgx, alsa-lib
, libpulseaudio, gtk3, libusbgx, alsa-lib
, linuxHeaders, libseccomp
}:
@@ -29,7 +29,6 @@ rustPlatform.buildRustPackage rec {
gtk3
libusbgx
alsa-lib
libclang
linuxHeaders
libseccomp
];
-2
View File
@@ -7,7 +7,6 @@
ffmpeg,
openssl,
alsa-lib,
libclang,
opencv,
makeWrapper,
}:
@@ -42,7 +41,6 @@ rustPlatform.buildRustPackage rec {
buildInputs = [
openssl.dev
alsa-lib.dev
(lib.getLib libclang)
ffmpeg.dev
opencv
];
-2
View File
@@ -2,7 +2,6 @@
lib,
rustPlatform,
fetchFromGitHub,
clang,
cmake,
copyDesktopItems,
curl,
@@ -122,7 +121,6 @@ rustPlatform.buildRustPackage rec {
nativeBuildInputs =
[
clang
cmake
copyDesktopItems
curl