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 <tazjin@tvl.su>
Autosubmit: flokli <flokli@flokli.de>
Tested-by: BuildkiteCI
This commit is contained in:
Florian Klink 2023-03-14 22:20:27 +01:00 committed by flokli
parent 0965600fe6
commit 0094a1442a

View file

@ -75,16 +75,18 @@ in
inherit cargoDeps; inherit cargoDeps;
name = "tvix-rust-docs"; name = "tvix-rust-docs";
src = depot.third_party.gitignoreSource ./.; src = depot.third_party.gitignoreSource ./.;
PROTO_ROOT = depot.tvix.store.protos;
nativeBuildInputs = with pkgs; [ nativeBuildInputs = with pkgs; [
cargo cargo
rust-analyzer rust-analyzer
rustPlatform.cargoSetupHook rustPlatform.cargoSetupHook
rustc rustc
protobuf
]; ];
buildPhase = '' buildPhase = ''
cargo doc --document-private-items -p tvix-eval -p tvix-serde -p nix-compat cargo doc --document-private-items
mv target/doc $out mv target/doc $out
''; '';
}; };