From e2dadbbba0eb1fb401d8334a50d311037a6b346a Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Fri, 28 Aug 2015 14:16:14 +0200 Subject: [PATCH] README.md: update the instructions for Nix & NixOS The stackoverflow article the README used to link to is outdated and no longer applies. --- README.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 0752888..28b1b3e 100644 --- a/README.md +++ b/README.md @@ -28,11 +28,12 @@ package is called `ghc` there, not `ghc-mod`) and install the ### Nix & NixOS -The installation is a little more involved in this environment as Nix needs some -ugly hacks to get packages using the GHC API to work, please refer to this -stackoverflow answer: - -http://stackoverflow.com/a/24228830 +`ghc-mod` works fine for users of Nix who follow a recent version of the +package database such as the `nixos-15.09` or `nixos-unstable` channel. Just +include the package `ghc-mod` into your `ghcWithPackages` environment like any +other library. The [Nixpkgs Haskell User's +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