From 2352d56aa0ba67f7d6dffe34eb5f503980c4ad3d Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Mon, 3 Feb 2025 11:11:13 +0100 Subject: [PATCH] lorri: fix useFetchCargoVendor The script I ran to bulk migrate packages didn't account for cargoHash being in a let, so here it just introduced an unused useFetchCargoVendor binding rather than passing it to buildRustPackage. Fixes: c597750454b1 ("treewide: migrate to fetchCargoVendor, batch 2") --- pkgs/tools/misc/lorri/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/misc/lorri/default.nix b/pkgs/tools/misc/lorri/default.nix index 715eea7768d7..a0febe773a63 100644 --- a/pkgs/tools/misc/lorri/default.nix +++ b/pkgs/tools/misc/lorri/default.nix @@ -17,8 +17,7 @@ let # Also don’t forget to run `nix-build -A lorri.tests` version = "1.7.1"; sha256 = "sha256-dEdKMgE4Jd8CCvtGQDZNDCYOomZAV8aR7Cmtyn8RfTo="; - useFetchCargoVendor = true; - cargoHash = "sha256-d1kXwb2WsF3J5AyD8wrrnGtCMYQ4P2mtiuJLMyCDPdM="; + cargoHash = "sha256-pRtc0cDVIBqbCbC1weFOhZP29rKAE1XdmM6HE5nJKRU="; in (rustPlatform.buildRustPackage rec { @@ -38,6 +37,7 @@ in "doc" ]; + useFetchCargoVendor = true; inherit cargoHash; doCheck = false;