patches: Add matrix-hookshot fetchCargoVendor patch
Some checks failed
Cachix / build (elendel) (push) Successful in 1m53s
Cachix / build (kholinar) (push) Successful in 2m6s
Cachix / build (marabethia) (push) Failing after 3m0s

This commit is contained in:
Charlotte Van Petegem 2025-01-26 15:42:35 +01:00
parent 14d08872ca
commit 1a652f4829
Signed by: chvp
SSH key fingerprint: SHA256:+xxExaZKfphaPBA/f79I53pATM1GM3mRUFmOl/ChUbM

24
patches/376984.patch Normal file
View file

@ -0,0 +1,24 @@
diff --git a/pkgs/by-name/ma/matrix-hookshot/package.nix b/pkgs/by-name/ma/matrix-hookshot/package.nix
index 2c6dc3de7736a..ccb7b7fa61170 100644
--- a/pkgs/by-name/ma/matrix-hookshot/package.nix
+++ b/pkgs/by-name/ma/matrix-hookshot/package.nix
@@ -37,7 +37,7 @@ mkYarnPackage rec {
sha256 = data.yarnHash;
};
- cargoDeps = rustPlatform.fetchCargoTarball {
+ cargoDeps = rustPlatform.fetchCargoVendor {
inherit src;
name = "${pname}-${version}";
hash = data.cargoHash;
diff --git a/pkgs/by-name/ma/matrix-hookshot/pin.json b/pkgs/by-name/ma/matrix-hookshot/pin.json
index e0aed65ff3d4e..f8b9080620b49 100644
--- a/pkgs/by-name/ma/matrix-hookshot/pin.json
+++ b/pkgs/by-name/ma/matrix-hookshot/pin.json
@@ -2,5 +2,5 @@
"version": "6.0.2",
"srcHash": "sha256-uqbKpmqiy0rU8ByMRUqyjGmEdZgAhYiMrh0VEwwcbK8=",
"yarnHash": "0sjc333cl115pm3w69aknf20n85r8nisrdjx1231101zrz01nhhh",
- "cargoHash": "sha256-UlPT/ko9d4bUvv3kutNPEISXEbKtegWo2OVKEmUlKrg="
+ "cargoHash": "sha256-4Ix5eqv3BMoTzfadayJqXICW+zZzSp2e6XJQrWraW60=="
}