From 455241a0366b4e8d7af7fc7612631a3021a8debe Mon Sep 17 00:00:00 2001 From: TomaSajt <62384384+TomaSajt@users.noreply.github.com> Date: Tue, 26 Nov 2024 08:47:40 +0100 Subject: [PATCH] buildRustPackage: fix passing depsExtraArgs to fetchCargoVendor --- pkgs/build-support/rust/build-rust-package/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/build-support/rust/build-rust-package/default.nix b/pkgs/build-support/rust/build-rust-package/default.nix index 0498161a7a62..0ced13bc4fd9 100644 --- a/pkgs/build-support/rust/build-rust-package/default.nix +++ b/pkgs/build-support/rust/build-rust-package/default.nix @@ -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;