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
|
||||
, cargo
|
||||
, cargo-auditable
|
||||
, cargo-auditable-cargo-wrapper
|
||||
, buildPackages
|
||||
, rustc
|
||||
, libiconv
|
||||
, windows
|
||||
|
@ -121,7 +121,7 @@ stdenv.mkDerivation ((removeAttrs args [ "depsExtraArgs" "cargoUpdateHook" "carg
|
|||
patchRegistryDeps = ./patch-registry-deps;
|
||||
|
||||
nativeBuildInputs = nativeBuildInputs ++ lib.optionals auditable [
|
||||
(cargo-auditable-cargo-wrapper.override {
|
||||
(buildPackages.cargo-auditable-cargo-wrapper.override {
|
||||
inherit cargo cargo-auditable;
|
||||
})
|
||||
] ++ [
|
||||
|
|
Loading…
Reference in a new issue