about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2023-03-14T21·20+0100
committerflokli <flokli@flokli.de>2023-03-14T22·23+0000
commit0094a1442a2c6baed558fd9dedeb778c2129ce6a (patch)
treef964f87c790f7bc23f27b7980316092aef3233e3
parent0965600fe6e3221cdb6a893fa52c46550fe7d4f0 (diff)
fix(tvix): build all tvix crate docs r/6006
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 <tazjin@tvl.su>
Autosubmit: flokli <flokli@flokli.de>
Tested-by: BuildkiteCI
-rw-r--r--tvix/default.nix4
1 files changed, 3 insertions, 1 deletions
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
     '';
   };