From a442c0b6d4cf1fb17eaa3bf2827f04b21ad334bf Mon Sep 17 00:00:00 2001 From: Vaibhav Sagar Date: Mon, 25 Nov 2019 13:27:43 -0500 Subject: [PATCH] README.md: update Nix instructions --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 6f546f49..db747043 100644 --- a/README.md +++ b/README.md @@ -216,7 +216,7 @@ If you have the `nix` package manager installed, you can create an IHaskell notebook environment with one command. For example: ```bash -$ nix-build -I nixpkgs=https://github.com/NixOS/nixpkgs-channels/archive/nixos-19.03.tar.gz --argstr compiler ghc864 --arg packages "haskellPackages: [ haskellPackages.lens ]" +$ nix-build -I nixpkgs=https://github.com/NixOS/nixpkgs-channels/archive/nixos-19.09.tar.gz release.nix --argstr compiler ghc865 --arg packages "haskellPackages: [ haskellPackages.lens ]" $ /bin/ihaskell-notebook ``` @@ -226,7 +226,7 @@ It might take a while the first time, but subsequent builds will be much faster. The IHaskell display modules are not loaded by default and have to be specified as additional packages: ```bash -$ NIXPKGS_ALLOW_BROKEN=1 nix-build -I nixpkgs=https://github.com/NixOS/nixpkgs-channels/archive/nixos-19.03.tar.gz --argstr compiler ghc844 --arg packages "haskellPackages: [ haskellPackages.ihaskell-blaze haskellPackages.ihaskell-charts ]" +$ NIXPKGS_ALLOW_BROKEN=1 nix-build -I nixpkgs=https://github.com/NixOS/nixpkgs-channels/archive/nixos-19.09.tar.gz release.nix --argstr compiler ghc844 --arg packages "haskellPackages: [ haskellPackages.ihaskell-blaze haskellPackages.ihaskell-charts ]" ``` We use GHC 8.4 here because not all dependencies have been updated to support GHC 8.6 yet.