mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-17 01:58:19 +00:00
![]() 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. These are a few cases that could have been in batch 1, but weren't for whatever reason. Maybe there were merge conflicts, or a transient network failure. It should be possible to reproduce this diff. To do so, get the list of files changed by this commit, e.g. with git diff --name-only, then run the following two commands, each with that list of files as their standard input: xargs sed -i 's/^\(. *\)\(cargoHash\)\b/\1useFetchCargoVendor = true;\n\1cargoHash/' cut -d / -f 4 | xargs -n 1 nix-update --version=skip |
||
---|---|---|
.. | ||
package.nix |