RISC-V: Difference between revisions

0x4A6F (talk | contribs)
Adding link to hydra, which shows information for binary cache by nickcao
Onny (talk | contribs)
Binary cache: Example snippet
Line 121: Line 121:


== Binary cache ==
== Binary cache ==
 
Example snippet which can be used to add two third-party binary caches with RISCV support<syntaxhighlight lang="nix">
nix.settings = {
  substituters = [
    "https://cache.nichi.co"
    "https://cache.ztier.in"
  ];
  trusted-public-keys = [
    "hydra.nichi.co-0:P3nkYHhmcLR3eNJgOAnHDjmQLkfqheGyhZ6GLrUVHwk="
    "cache.ztier.link-1:3P5j2ZB9dNgFFFVkCQWT3mh0E+S3rIWtZvoql64UaXM="
  ];
  experimental-features = [
    "nix-command"
    "flakes"
  ];
};
</syntaxhighlight>Known third-party binary caches with RISCV support
* [https://github.com/misuzu/nixos-vf2/blob/master/flake.nix#L3 misuzu]
* [https://github.com/misuzu/nixos-vf2/blob/master/flake.nix#L3 misuzu]
* [https://hydra.nichi.co/ by Nick Cao]
* [https://hydra.nichi.co/ by Nick Cao]