diff --git a/docs/tutorials/getting-started.md b/docs/tutorials/getting-started.md index ad88de4dfd..d40685a118 100644 --- a/docs/tutorials/getting-started.md +++ b/docs/tutorials/getting-started.md @@ -33,6 +33,18 @@ nix.settings.substituters = [ ]; ``` +NixOS-21.11 and older use slightly different settings. + +``` +# Binary Cache for Haskell.nix +nix.binaryCachePublicKeys = [ + "hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ=" +]; +nix.binaryCaches = [ + "https://hydra.iohk.io" +]; +``` + This can be tricky to get setup properly. If you're still having trouble getting cache hits, consult the corresponding [troubleshooting section](../troubleshooting.md#why-am-i-building-ghc). ## Niv