diff --git a/pkgs/build-support/rust/build-rust-package/default.nix b/pkgs/build-support/rust/build-rust-package/default.nix index 8fda358ee0120..f5634cb80c14c 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;