~jonsterling/forester-devel

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
1

[PATCH] flake.nix: add cachix to flake config

Details
Message ID
<20241112121637.146025-1-nick.hu@cs.ox.ac.uk>
DKIM signature
missing
Download raw message
Patch: +4 -0
This will make it so that the cachix config can be automatically
installed (the user is promped on first access).

(Compiling is very slow on my laptop...)

---
 flake.nix | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/flake.nix b/flake.nix
index 8f055b3..ea57f50 100644
--- a/flake.nix
+++ b/flake.nix
@@ -1,4 +1,8 @@
{
  nixConfig = {
    extra-substituters = [ "https://forester.cachix.org" ];
    extra-trusted-public-keys = [ "forester.cachix.org-1:pErGVVci7kZWxxcbQ/To8Lvqp6nVTeyPf0efJxbrQDM=" ];
  };
  inputs = {
    nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
    flake-utils.url = "github:numtide/flake-utils";
-- 
2.47.0
Details
Message ID
<D5K7XE04JDOY.2DW6A453JD8NF@gmail.com>
In-Reply-To
<20241112121637.146025-1-nick.hu@cs.ox.ac.uk> (view parent)
DKIM signature
pass
Download raw message
Thanks! I have now applied your patch on the 5.0 branch.

Best, Kento

On Tue Nov 12, 2024 at 1:15 PM CET, Nick Hu wrote:
> This will make it so that the cachix config can be automatically
> installed (the user is promped on first access).
>
> (Compiling is very slow on my laptop...)
>
> ---
>  flake.nix | 4 ++++
>  1 file changed, 4 insertions(+)
>
> diff --git a/flake.nix b/flake.nix
> index 8f055b3..ea57f50 100644
> --- a/flake.nix
> +++ b/flake.nix
> @@ -1,4 +1,8 @@
>  {
> +  nixConfig = {
> +    extra-substituters = [ "https://forester.cachix.org" ];
> +    extra-trusted-public-keys = [ "forester.cachix.org-1:pErGVVci7kZWxxcbQ/To8Lvqp6nVTeyPf0efJxbrQDM=" ];
> +  };
>    inputs = {
>      nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
>      flake-utils.url = "github:numtide/flake-utils";
Reply to thread Export thread (mbox)