diff options
| author | Alyssa Ross <hi@alyssa.is> | 2025-01-30 16:26:57 +0100 |
|---|---|---|
| committer | github-actions[bot] <github-actions[bot]@users.noreply.github.com> | 2025-01-31 09:22:57 +0000 |
| commit | d4e1a6513844ee2e26c035ae8a6b2c31842ec5fb (patch) | |
| tree | 390526318b47dff520ebb2c6a4d6f025d3dee4b7 | |
| parent | [BACKPORT 24.11] ankama-launcher: 3.12.30 -> 3.12.31 (#378225) (diff) | |
| download | nixpkgs-d4e1a6513844ee2e26c035ae8a6b2c31842ec5fb.tar.gz | |
matrix-synapse: fetchCargoTarball -> fetchCargoVendor
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.
(cherry picked from commit d1f5bf340833202b03d73b8fc0acd20b45787403)
| -rw-r--r-- | pkgs/servers/matrix-synapse/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/servers/matrix-synapse/default.nix b/pkgs/servers/matrix-synapse/default.nix index 6013aeaac0d3..183953b7f6f6 100644 --- a/pkgs/servers/matrix-synapse/default.nix +++ b/pkgs/servers/matrix-synapse/default.nix @@ -28,10 +28,10 @@ python3.pkgs.buildPythonApplication rec { hash = "sha256-pucGVKEjQNihlHmFxhgJSiX7sxpQYrCpSwhZByBtbe8="; }; - cargoDeps = rustPlatform.fetchCargoTarball { + cargoDeps = rustPlatform.fetchCargoVendor { inherit src; name = "${pname}-${version}"; - hash = "sha256-AZi3QIPHqfxfCGcZAAD0rzmzLH6tUxhuq+Tc38qdUKc="; + hash = "sha256-1BFVW89+1js5mn/EPxkuHaUfkFn/dNlMlH1pN2lDcwE="; }; postPatch = '' |
