buildRustPackage: fix passing depsExtraArgs to fetchCargoVendor

This commit is contained in:
TomaSajt 2024-11-26 08:47:40 +01:00
parent 096ede7f2b
commit 455241a036
No known key found for this signature in database
GPG Key ID: F011163C050122A1

View File

@ -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;