docs(web/building): document dev binary cache setup
Change-Id: Ia4880b5a2d673acbe264e4e1d8ef301080e0459e Reviewed-on: https://cl.snix.dev/c/snix/+/30287 Autosubmit: Florian Klink <flokli@flokli.de> Tested-by: besadii Reviewed-by: Ilan Joselevich <personal@ilanjoselevich.com>
This commit is contained in:
parent
5551d0ea5e
commit
14115930cc
1 changed files with 21 additions and 0 deletions
|
|
@ -60,6 +60,27 @@ $ mg build //snix:cli
|
||||||
|
|
||||||
This uses [crate2nix][] to build each crate dependency individually.
|
This uses [crate2nix][] to build each crate dependency individually.
|
||||||
|
|
||||||
|
#### Binary cache for Development
|
||||||
|
|
||||||
|
If you want to fetch store paths built by CI, you can configure our
|
||||||
|
[Harmonia](https://github.com/nix-community/harmonia) deployment as a Nix substituter:
|
||||||
|
|
||||||
|
```nix
|
||||||
|
{
|
||||||
|
nix.settings.trusted-public-keys = [
|
||||||
|
"cache.snix.dev-1:miTqzIzmCbX/DyK2tLNXDROk77CbbvcRdWA4y2F8pno="
|
||||||
|
];
|
||||||
|
nix.settings.substituters = [
|
||||||
|
"https://cache.snix.dev"
|
||||||
|
];
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
Keep in mind there's no guarantees on paths being available, they get GC'ed
|
||||||
|
eventually.
|
||||||
|
|
||||||
|
|
||||||
|
### Further reading
|
||||||
Checkout the [Component Overview]({{< ref "/docs/components/overview" >}})
|
Checkout the [Component Overview]({{< ref "/docs/components/overview" >}})
|
||||||
to learn more about the project structure.
|
to learn more about the project structure.
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue