Skip to content

Commit 9fae2eb

Browse files
authored
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
1 parent 3600267 commit 9fae2eb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/tutorials/getting-started.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -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
```

0 commit comments

Comments
 (0)