From abe1de4302a3650cbadbb343630d2f24d232d3f2 Mon Sep 17 00:00:00 2001 From: sterni Date: Fri, 2 Apr 2021 22:03:46 +0200 Subject: feat(3p/rust-crates): get dependencies from the depot fix point I think it is good practice to always get dependencies from the depot fix point if they are exposed. The reasoning for this is that if we improve the support for overriding in depot, say by introducing a depot.extend functions or even full blown overlay support, this will already work as expected. Change-Id: Ibb8dffcf32e8f46817a2db2da26139fabdce55bc Reviewed-on: https://cl.tvl.fyi/c/depot/+/2770 Tested-by: BuildkiteCI Reviewed-by: Profpatsch --- third_party/rust-crates/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'third_party/rust-crates') diff --git a/third_party/rust-crates/default.nix b/third_party/rust-crates/default.nix index 17479bf61ae1..04b7ff869e6f 100644 --- a/third_party/rust-crates/default.nix +++ b/third_party/rust-crates/default.nix @@ -6,7 +6,9 @@ let ; in -rec { +with depot.third_party.rust-crates; + +{ cfg-if = pkgs.buildRustCrate { pname = "cfg-if"; crateName = "cfg-if"; -- cgit 1.4.1