From 1a652f4829413a4162a34565eb59a9f4f60f8cd0 Mon Sep 17 00:00:00 2001 From: Charlotte Van Petegem Date: Sun, 26 Jan 2025 15:42:35 +0100 Subject: [PATCH] patches: Add matrix-hookshot fetchCargoVendor patch --- patches/376984.patch | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 patches/376984.patch diff --git a/patches/376984.patch b/patches/376984.patch new file mode 100644 index 00000000..fbc5bfb2 --- /dev/null +++ b/patches/376984.patch @@ -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==" + }