README.md: always specify -I with nix-build

This commit is contained in:
Vaibhav Sagar 2018-08-06 20:46:14 +08:00
parent 2c43cffe4f
commit 4c0b1b7507

View File

@ -129,7 +129,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
$ nix-build release.nix --arg packages "haskellPackages: [ haskellPackages.ihaskell-blaze haskellPackages.ihaskell-charts ]"
$ nix-build -I nixpkgs=https://github.com/NixOS/nixpkgs-channels/archive/nixos-18.03.tar.gz release-8.2.nix --arg packages "haskellPackages: [ haskellPackages.ihaskell-blaze haskellPackages.ihaskell-charts ]"
```
# Troubleshooting