From fae5da3aa323f6710619e17b5eae7fcf00de78c3 Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Sat, 25 Jan 2025 12:44:13 +0100 Subject: [PATCH] tensorman: 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. --- pkgs/by-name/te/tensorman/package.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/by-name/te/tensorman/package.nix b/pkgs/by-name/te/tensorman/package.nix index d4ae5cba431f..f972af1e4312 100644 --- a/pkgs/by-name/te/tensorman/package.nix +++ b/pkgs/by-name/te/tensorman/package.nix @@ -15,7 +15,8 @@ rustPlatform.buildRustPackage { hash = "sha256-kI/dOw9JnhXmLqIgaljhRMc/SX35m7WQ9b6bQa6diZ0="; }; - cargoHash = "sha256-nOccHmac6nYoS9LtJwg6CkA0nryDHR4DuMkVUmGNJ7M="; + useFetchCargoVendor = true; + cargoHash = "sha256-/Ul8+5MmTntQ0OprfG4QhUNjc3PktCandzTTWn4FD0Y="; meta = with lib; { description = "Utility for easy management of Tensorflow containers";