on master help sign in
nix flake: make the binary cache "just work" (#2999)
fefa4d8Timothy DeHerrera
book/src/install.md+6−2
@@ -22,8 +22,12 @@ the project root. The flake can also be used to spin up a reproducible developme
22shell for working on Helix with `nix develop`.
22shell for working on Helix with `nix develop`.
23
23
24Flake outputs are cached for each push to master using
24Flake outputs are cached for each push to master using
25−[Cachix](https://www.cachix.org/). With Cachix
25+[Cachix](https://www.cachix.org/). The flake is configured to
26+automatically make use of this cache assuming the user accepts
27+the new settings on first use.
28+
29+If you are using a version of Nix without flakes enabled you can
26−[installed](https://docs.cachix.org/installation), `cachix use helix` will
30+[install Cachix cli](https://docs.cachix.org/installation); `cachix use helix` will
27configure Nix to use cached outputs when possible.
31configure Nix to use cached outputs when possible.
28
32
29### Arch Linux
33### Arch Linux
flake.nix+5
@@ -96,4 +96,9 @@
96 };
96 };
97 };
97 };
98 };
98 };
99+
100+ nixConfig = {
101+ extra-substituters = ["https://helix.cachix.org"];
102+ extra-trusted-public-keys = ["helix.cachix.org-1:ejp9KQpR1FBI2onstMQ34yogDm4OgU2ru6lIwPvuCVs="];
103+ };
99}
104}