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:
parent
0965600fe6
commit
0094a1442a
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue