buildRustPackage: remove redundant libiconv dependency on darwin
This commit is contained in:
@@ -12,7 +12,6 @@
|
||||
cargo-auditable,
|
||||
buildPackages,
|
||||
rustc,
|
||||
libiconv,
|
||||
windows,
|
||||
}:
|
||||
|
||||
@@ -135,10 +134,7 @@ lib.extendMkDerivation {
|
||||
cargo
|
||||
];
|
||||
|
||||
buildInputs =
|
||||
buildInputs
|
||||
++ lib.optionals stdenv.hostPlatform.isDarwin [ libiconv ]
|
||||
++ lib.optionals stdenv.hostPlatform.isMinGW [ windows.pthreads ];
|
||||
buildInputs = buildInputs ++ lib.optionals stdenv.hostPlatform.isMinGW [ windows.pthreads ];
|
||||
|
||||
patches = cargoPatches ++ patches;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user