From 0094a1442a2c6baed558fd9dedeb778c2129ce6a Mon Sep 17 00:00:00 2001 From: Florian Klink Date: Tue, 14 Mar 2023 22:20:27 +0100 Subject: fix(tvix): build all tvix crate docs There's still some shadowing going on, but that's left for a followup CL. Change-Id: I02992f1eb494faca99857a3a5ee4dcd47f1b9fd0 Reviewed-on: https://cl.tvl.fyi/c/depot/+/8306 Reviewed-by: tazjin Autosubmit: flokli Tested-by: BuildkiteCI --- tvix/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tvix/default.nix') diff --git a/tvix/default.nix b/tvix/default.nix index 19cb0fdd5a..1b18b7b3fd 100644 --- a/tvix/default.nix +++ b/tvix/default.nix @@ -75,16 +75,18 @@ in inherit cargoDeps; name = "tvix-rust-docs"; src = depot.third_party.gitignoreSource ./.; + PROTO_ROOT = depot.tvix.store.protos; nativeBuildInputs = with pkgs; [ cargo rust-analyzer rustPlatform.cargoSetupHook rustc + protobuf ]; buildPhase = '' - cargo doc --document-private-items -p tvix-eval -p tvix-serde -p nix-compat + cargo doc --document-private-items mv target/doc $out ''; }; -- cgit 1.4.1