From 0133fdc737286a678fbc46a97810dfb152588c77 Mon Sep 17 00:00:00 2001 From: sterni Date: Fri, 2 Apr 2021 21:59:25 +0200 Subject: chore: move all 3p buildRustCrate derivations to //third_party Profpatsch and me are basically the only users of depot.users.Profpatsch.writers.rustSimple*. To pull in the odd dependency we usually use buildRustCrate which is rather convenient. However we've picked up the bad habit of inlining these in a let somewhere instead of managing them in a more central location although there has been an (unsuccesful) attempt at this in //users/Profpatsch/rust-crates.nix. This CL moves all buildRustCrate based derivations into third_party.rust-crates and deletes any duplicate derivations we have accumulated in the tree. Change-Id: I8f68b95ebd546708e9af07dca36d72dba9ca8c77 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2769 Tested-by: BuildkiteCI Reviewed-by: tazjin Reviewed-by: Profpatsch --- users/Profpatsch/read-http.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'users/Profpatsch/read-http.nix') diff --git a/users/Profpatsch/read-http.nix b/users/Profpatsch/read-http.nix index 614993c457..2b7465dab8 100644 --- a/users/Profpatsch/read-http.nix +++ b/users/Profpatsch/read-http.nix @@ -5,8 +5,8 @@ let read-http = depot.users.Profpatsch.writers.rustSimple { name = "read-http"; dependencies = [ - depot.users.Profpatsch.rust-crates.ascii - depot.users.Profpatsch.rust-crates.httparse + depot.third_party.rust-crates.ascii + depot.third_party.rust-crates.httparse depot.users.Profpatsch.netencode.netencode-rs depot.users.Profpatsch.arglib.netencode.rust depot.users.Profpatsch.execline.exec-helpers -- cgit 1.4.1