buildRustPackage: fix passing depsExtraArgs to fetchCargoVendor

This commit is contained in:
TomaSajt
2024-11-26 08:48:06 +01:00
parent 096ede7f2b
commit 455241a036
@@ -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;