buildRustPackage: fix passing depsExtraArgs to fetchCargoVendor (#359211)

This commit is contained in:
Aleksana
2024-11-27 19:36:58 +08:00
committed by GitHub
@@ -71,7 +71,7 @@ let
if cargoVendorDir != null then null
else if cargoDeps != null then cargoDeps
else if cargoLock != null then importCargoLock cargoLock
else if useFetchCargoVendor then (fetchCargoVendor {
else if useFetchCargoVendor then fetchCargoVendor ({
inherit src srcs sourceRoot preUnpack unpackPhase postUnpack;
name = cargoDepsName;
patches = cargoPatches;