Skip to content

Commit

Permalink
cargo-auditable: useFetchCargoVendor
Browse files Browse the repository at this point in the history
Cargo 1.84.0 seems to have changed the output format of cargo vendor
again, once again invalidating fetchCargoTarball FOD hashes.  It's
time to fix this once and for all, switching across the board to
fetchCargoVendor, which is not dependent on cargo vendor's output
format.
  • Loading branch information
alyssais committed Jan 28, 2025
1 parent 35febc0 commit 51fa0b0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion pkgs/development/compilers/rust/cargo-auditable.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,11 @@ let
sha256 = "sha256-zjv2/qZM0vRyz45DeKRtPHaamv2iLtjpSedVTEXeDr8=";
};

cargoHash = "sha256-uNoqWT3gVslGEPcyrfFeOquvSlLzZbPO4yM1YJeD8N4=";
cargoDeps = rustPlatform.fetchCargoVendor {
inherit pname version src;
allowGitDependencies = false;
hash = "sha256-oTPGmoGlNfPVZ6qha/oXyPJp94fT2cNlVggbIGHf2bc=";
};

checkFlags = [
# requires wasm32-unknown-unknown target
Expand Down

0 comments on commit 51fa0b0

Please sign in to comment.