rustPlatform.buildRustPackage: fix cross

.override breaks splicing, so this was using the shell for the host
platform.
This commit is contained in:
Alyssa Ross 2023-04-24 17:30:05 +00:00
parent 535d224635
commit 90a8b9e3fe

View File

@ -11,7 +11,7 @@
, cargoSetupHook , cargoSetupHook
, cargo , cargo
, cargo-auditable , cargo-auditable
, cargo-auditable-cargo-wrapper , buildPackages
, rustc , rustc
, libiconv , libiconv
, windows , windows
@ -121,7 +121,7 @@ stdenv.mkDerivation ((removeAttrs args [ "depsExtraArgs" "cargoUpdateHook" "carg
patchRegistryDeps = ./patch-registry-deps; patchRegistryDeps = ./patch-registry-deps;
nativeBuildInputs = nativeBuildInputs ++ lib.optionals auditable [ nativeBuildInputs = nativeBuildInputs ++ lib.optionals auditable [
(cargo-auditable-cargo-wrapper.override { (buildPackages.cargo-auditable-cargo-wrapper.override {
inherit cargo cargo-auditable; inherit cargo cargo-auditable;
}) })
] ++ [ ] ++ [