on master help sign in
nix flake: make the binary cache "just work" (#2999)
commitfefa4d8c5938c4e74b6eb01c6fb8379548c20ab4 authorTimothy DeHerrera <tim@nrdxp.dev> dateSat 9 Jul 2022, 09:09 (4 years ago) parent6100b1b
2 files changed+11−2
book/src/install.md+6−2 flake.nix+5
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
2222shell for working on Helix with `nix develop`.
2323
2424Flake outputs are cached for each push to master using
25−[Cachix](https://www.cachix.org/). With Cachix
26−[installed](https://docs.cachix.org/installation), `cachix use helix` will
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
30+[install Cachix cli](https://docs.cachix.org/installation); `cachix use helix` will
2731configure Nix to use cached outputs when possible.
2832
2933### Arch Linux
flake.nix+5
@@ -96,4 +96,9 @@
9696 };
9797 };
9898 };
99+
100+ nixConfig = {
101+ extra-substituters = ["https://helix.cachix.org"];
102+ extra-trusted-public-keys = ["helix.cachix.org-1:ejp9KQpR1FBI2onstMQ34yogDm4OgU2ru6lIwPvuCVs="];
103+ };
99104}