himalaya: 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: 63bff8c132 ("treewide: migrate to fetchCargoVendor, batch 1")
This commit is contained in:
@@ -19,8 +19,7 @@
|
||||
let
|
||||
version = "1.1.0";
|
||||
hash = "sha256-gdrhzyhxRHZkALB3SG/aWOdA5iMYkel3Cjk5VBy3E4M=";
|
||||
useFetchCargoVendor = true;
|
||||
cargoHash = "sha256-1KtS/lzVUEDiDCo3b8RFDYeTMsbHk2tIdniFZfoTxYk=";
|
||||
cargoHash = "sha256-ulqMjpW3UI509vs3jVHXAEQUhxU/f/hN8XiIo8UBRq8=";
|
||||
|
||||
noDefaultFeatures = lib.warnIf
|
||||
(args ? buildNoDefaultFeatures)
|
||||
@@ -45,6 +44,8 @@ rustPlatform.buildRustPackage {
|
||||
rev = "v${version}";
|
||||
};
|
||||
|
||||
useFetchCargoVendor = true;
|
||||
|
||||
buildNoDefaultFeatures = noDefaultFeatures;
|
||||
buildFeatures = features;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user