rustPlatform.buildRustPackage: fix cross
.override breaks splicing, so this was using the shell for the host platform.
This commit is contained in:
parent
535d224635
commit
90a8b9e3fe
@ -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;
|
||||||
})
|
})
|
||||||
] ++ [
|
] ++ [
|
||||||
|
Loading…
Reference in New Issue
Block a user