Skip to content

Commit a47cb26

Browse files
committed
matrix-hookshot: useFetchCargoVendor
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.
1 parent 1555657 commit a47cb26

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pkgs/by-name/ma/matrix-hookshot/package.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ mkYarnPackage rec {
3737
sha256 = data.yarnHash;
3838
};
3939

40-
cargoDeps = rustPlatform.fetchCargoTarball {
40+
cargoDeps = rustPlatform.fetchCargoVendor {
4141
inherit src;
4242
name = "${pname}-${version}";
4343
hash = data.cargoHash;

pkgs/by-name/ma/matrix-hookshot/pin.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
"version": "6.0.2",
33
"srcHash": "sha256-uqbKpmqiy0rU8ByMRUqyjGmEdZgAhYiMrh0VEwwcbK8=",
44
"yarnHash": "0sjc333cl115pm3w69aknf20n85r8nisrdjx1231101zrz01nhhh",
5-
"cargoHash": "sha256-UlPT/ko9d4bUvv3kutNPEISXEbKtegWo2OVKEmUlKrg="
5+
"cargoHash": "sha256-4Ix5eqv3BMoTzfadayJqXICW+zZzSp2e6XJQrWraW60=="
66
}

0 commit comments

Comments
 (0)