From 520dfd13b4df74724d595e7d0e8322e17c6be173 Mon Sep 17 00:00:00 2001 From: Malte Brandy Date: Sat, 21 May 2022 15:15:14 +0200 Subject: [PATCH] downloads: Add entry for NixOS owned by maralorn --- site/downloads.markdown | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/site/downloads.markdown b/site/downloads.markdown index 4cf8456..6123a06 100644 --- a/site/downloads.markdown +++ b/site/downloads.markdown @@ -70,6 +70,22 @@ Alternatively, many operating systems provide GHC, cabal and Stack through their #### Arch **Do not use the Haskell development tools provided by Arch, they are broken.** For more information see [[1]](https://dixonary.co.uk/blog/haskell/cabal-2020) [[2]](https://stackoverflow.com/questions/65643699/what-is-the-suggested-way-of-setting-up-haskell-on-archlinux/65644318#65644318). + + +

Show Nix/NixOS instructions

+ +
+ + +*for Nix the package manager on NixOS the distribution and other OS* + +* **Using ghcup on NixOS does not work.** Use the official packages instead. +* You can get started by installing + [GHC](https://search.nixos.org/packages?show=ghc&type=packages&query=ghc), + [Haskell Language Server](https://search.nixos.org/packages?show=haskell-language-server&type=packages&query=haskell-language-server) and + [cabal-install](https://search.nixos.org/packages?show=cabal-install&type=packages&query=cabal-install) (or + [Stack](https://search.nixos.org/packages?show=stack&type=packages&query=stack)) via Nix. +* Read the [documentation](https://haskell4nix.readthedocs.io/nixpkgs-users-guide.html#how-to-create-a-development-environment) to learn more about development environments and packaging for Haskell with Nix.