on iko/ghcjs-patch-master help sign in
Update Getting Started for NixOS users (#998)
0c3689bBill Ewanick
docs/tutorials/getting-started.md+12
@@ -21,6 +21,18 @@ trusted-public-keys = [...] hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNG
21substituters = [...] https://hydra.iohk.io [...]
21substituters = [...] https://hydra.iohk.io [...]
22```
22```
23
23
24+If you're running NixOS, you need to add/update the following in your `/etc/nixos/configuration.nix` files instead.
25+
26+```
27+# Binary Cache for Haskell.nix
28+nix.binaryCachePublicKeys = [
29+ "hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ="
30+];
31+nix.binaryCaches = [
32+ "https://hydra.iohk.io"
33+];
34+```
35+
24This 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).
36This 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).
25
37
26## Scaffolding
38## Scaffolding