public-cache: build and push the cargo dependency closures
This commit is contained in:
parent
c41b84bff7
commit
7240c148f4
1 changed files with 11 additions and 1 deletions
|
|
@ -299,6 +299,14 @@ in
|
|||
# is exposed too since it's independently useful/inspectable.
|
||||
inherit swagger-ui-dist swagger-ui-theme;
|
||||
|
||||
# The crane dependency builds the Rust packages and checks start from, as
|
||||
# outputs of their own so the public cache job can build and push them:
|
||||
# without them a consumer of the cache recompiles every crate dependency.
|
||||
# `cargo-deps-bin` is what the deployed binaries build from (no test
|
||||
# targets), `cargo-deps` what the checks build from. Neither is in `default`.
|
||||
cargo-deps = rust.cargoArtifacts;
|
||||
cargo-deps-bin = rust.cargoArtifactsBinOnly;
|
||||
|
||||
# `vale` preconfigured with .vale.ini and the pinned style packages
|
||||
# (./vale.nix, ./vale-styles.nix); the prose-lint CI jobs and the devshell run it.
|
||||
vale = pkgs.callPackage ./vale.nix { };
|
||||
|
|
|
|||
Loading…
Reference in a new issue