on iko/ghcjs-patch-master help sign in
Replace deprecated NixOS binary cache settings (#1410)

`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

commit9fae2eb97f6476b8ef58a75cd53598551f0a0229 authorIan <23251244+iburzynski@users.noreply.github.com> dateMon 21 Mar 2022, 12:27 (5 years ago) parent3600267
1 file changed+2−2
docs/tutorials/getting-started.md+2−2
docs/tutorials/getting-started.md+2−2
@@ -25,10 +25,10 @@ If you're running NixOS, you need to add/update the following in your `/etc/nixo
2525
2626```
2727# Binary Cache for Haskell.nix
28−nix.binaryCachePublicKeys = [
28+nix.settings.trusted-public-keys = [
2929 "hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ="
3030];
31−nix.binaryCaches = [
31+nix.settings.substituters = [
3232 "https://hydra.iohk.io"
3333];
3434```