patches: Add matrix-hookshot fetchCargoVendor patch
This commit is contained in:
parent
14d08872ca
commit
1a652f4829
1 changed files with 24 additions and 0 deletions
24
patches/376984.patch
Normal file
24
patches/376984.patch
Normal 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=="
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue