2
0
Fork 0

Add Cachix note to README

This commit is contained in:
Emery Hemingway 2020-10-19 14:58:45 +02:00
parent 10823eaced
commit 7abb698e0f
1 changed files with 7 additions and 36 deletions

View File

@ -11,11 +11,13 @@
[Nix](https://nixos.org/nix/) expressions related to the [Nix](https://nixos.org/nix/) expressions related to the
[Genode OS framework](https://genode.org). [Genode OS framework](https://genode.org).
=> irc://freenode.net/#nixos-exotic IRC [IRC](irc://freenode.net/#nixos-exotic)
=> https://lists.sr.ht/~ehmry/genodepkgs Mailing list [Mailing list](https://lists.sr.ht/~ehmry/genodepkgs)
=> https://opensource.sotest.io/userName%3Demery/1 SoTest [Sotest](https://opensource.sotest.io/userName%3Demery/1)
[Cachix](https://app.cachix.org/cache/genodepkgs)
# Current status # Current status
@ -172,39 +174,8 @@ introduction and tutorial.
## Build Caching ## Build Caching
The builds produced by Hydra are available as a binary cache, using the cache is A binary cache is graciously provided by Cachix, the following link provides
strongly recommended. instructions for enabling: https://app.cachix.org/cache/genodepkgs
The global (IPv6 only) address for the cache can be tested by fetching the
following: http://cache.server7.hq.c3d2.de/nix-cache-info.
If that fails the cache is also available within the
[Yggdrasil](https://yggdrasil-network.github.io/) network:
http://nix-serve.y.c3d2.de/nix-cache-info.
Those with IPv6 will want to the following to their */etc/nix/nix.conf* file:
```
substituters = https://cache.nixos.org https://cache.server7.hq.c3d2.de
trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= cache.server7.hq.c3d2.de:x8JLRG26zRZ8ysYZLEkPxuAYuK1VSJi/aMAEIs2Lv+U=
```
NixOS users may alternatively using the following configuration:
```nix
{ pkgs, ... }:
{
# The following enables the use of a binary cache (IPv6 only)
nix.binaryCaches = [
"https://cache.nixos.org"
"https://cache.server7.hq.c3d2.de"
# or "http://nix-serve.y.c3d2.de"
];
nix.binaryCachePublicKeys = [
"cache.server7.hq.c3d2.de:x8JLRG26zRZ8ysYZLEkPxuAYuK1VSJi/aMAEIs2Lv+U="
];
}
```
## Building from flakes ## Building from flakes