README.md: update the instructions for Nix & NixOS

The stackoverflow article the README used to link to is outdated and no
longer applies.
This commit is contained in:
Peter Simons 2015-08-28 14:16:14 +02:00 committed by Daniel Gröber
parent d681130c88
commit 30d95c5fce

View File

@ -28,11 +28,12 @@ package is called `ghc` there, not `ghc-mod`) and install the
### Nix & NixOS ### Nix & NixOS
The installation is a little more involved in this environment as Nix needs some `ghc-mod` works fine for users of Nix who follow a recent version of the
ugly hacks to get packages using the GHC API to work, please refer to this package database such as the `nixos-15.09` or `nixos-unstable` channel. Just
stackoverflow answer: include the package `ghc-mod` into your `ghcWithPackages` environment like any
other library. The [Nixpkgs Haskell User's
http://stackoverflow.com/a/24228830 Guide](http://hydra.nixos.org/job/nixpkgs/trunk/manual/latest/download-by-type/doc/manual#users-guide-to-the-haskell-infrastructure)
covers this subject in gret detail.
## Using the development version ## Using the development version