From 879c66cccff96bc04422b4aa36ede6bf9b9254b9 Mon Sep 17 00:00:00 2001 From: David Nadlinger Date: Wed, 13 Apr 2022 21:21:18 +0100 Subject: [PATCH] flake.nix: Fix outdated nixConfig keys The old syntax seems to be silently ignored on (at least) Nix 2.7.0. --- flake.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index c65485c72..5c7ac3052 100644 --- a/flake.nix +++ b/flake.nix @@ -148,7 +148,7 @@ }; nixConfig = { - binaryCachePublicKeys = ["nixbld.m-labs.hk-1:5aSRVA5b320xbNvu30tqxVPXpld73bhtOeH6uAjRyHc="]; - binaryCaches = ["https://nixbld.m-labs.hk" "https://cache.nixos.org"]; + extra-trusted-public-keys = "nixbld.m-labs.hk-1:5aSRVA5b320xbNvu30tqxVPXpld73bhtOeH6uAjRyHc="; + extra-substituters = "https://nixbld.m-labs.hk"; }; }