Commit 90a8b9e3 authored by Alyssa Ross's avatar Alyssa Ross
Browse files

rustPlatform.buildRustPackage: fix cross

.override breaks splicing, so this was using the shell for the host
platform.
parent 535d2246
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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;
    })
  ] ++ [