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: c597750454 ("treewide: migrate to fetchCargoVendor, batch 2")
This commit is contained in:
Alyssa Ross
2025-02-03 19:22:41 +01:00
parent 6eb36d071d
commit 2352d56aa0
+2 -2
View File
@@ -17,8 +17,7 @@ let
# Also dont 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;