Add Cachix note to README
parent
10823eaced
commit
7abb698e0f
43
README.md
43
README.md
|
@ -11,11 +11,13 @@
|
|||
[Nix](https://nixos.org/nix/) expressions related to the
|
||||
[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
|
||||
|
||||
|
@ -172,39 +174,8 @@ introduction and tutorial.
|
|||
|
||||
## Build Caching
|
||||
|
||||
The builds produced by Hydra are available as a binary cache, using the cache is
|
||||
strongly recommended.
|
||||
|
||||
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="
|
||||
];
|
||||
}
|
||||
```
|
||||
A binary cache is graciously provided by Cachix, the following link provides
|
||||
instructions for enabling: https://app.cachix.org/cache/genodepkgs
|
||||
|
||||
## Building from flakes
|
||||
|
||||
|
|
Loading…
Reference in New Issue