From c8a33e930f53a1d7059a6189835b6c2268593d9a Mon Sep 17 00:00:00 2001 From: Ian <23251244+iburzynski@users.noreply.github.com> Date: Mon, 21 Mar 2022 11:02:14 -0400 Subject: [PATCH] Replace deprecated NixOS binary cache settings `nix.binaryCachePublicKeys` and `nix.binaryCaches` are now deprecated in NixOS: the current names for these settings are `nix.settings.trusted-public-keys` and `nix.settings.substituters`, respectively --- docs/tutorials/getting-started.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/tutorials/getting-started.md b/docs/tutorials/getting-started.md index b9b455f981..abbf276e98 100644 --- a/docs/tutorials/getting-started.md +++ b/docs/tutorials/getting-started.md @@ -25,10 +25,10 @@ If you're running NixOS, you need to add/update the following in your `/etc/nixo ``` # Binary Cache for Haskell.nix -nix.binaryCachePublicKeys = [ +nix.settings.trusted-public-keys = [ "hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ=" ]; -nix.binaryCaches = [ +nix.settings.substituters = [ "https://hydra.iohk.io" ]; ```