diff --git a/docs/tutorials/getting-started.md b/docs/tutorials/getting-started.md index fe5c48e53d..bcbeab8667 100644 --- a/docs/tutorials/getting-started.md +++ b/docs/tutorials/getting-started.md @@ -21,6 +21,18 @@ trusted-public-keys = [...] hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNG substituters = [...] https://hydra.iohk.io [...] ``` +If you're running NixOS, you need to add/update the following in your `/etc/nixos/configuration.nix` files instead. + +``` +# 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](../reference/troubleshooting#why-am-i-building-ghc). ## Scaffolding