From 7abb698e0f08ed3b37832f45e739ef8f5babe635 Mon Sep 17 00:00:00 2001 From: Emery Hemingway Date: Mon, 19 Oct 2020 14:58:45 +0200 Subject: [PATCH] Add Cachix note to README --- README.md | 43 +++++++------------------------------------ 1 file changed, 7 insertions(+), 36 deletions(-) diff --git a/README.md b/README.md index 4543a4a..fc4a293 100644 --- a/README.md +++ b/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