Works on my machine (x86_64-linux).
How to use: take a look at default.nix.
The following GHC versions and the corresponding last-known-to-build nixpkgs
revisions are included, most are cached in cache.nixos.org:
6.10.46.12.1(uncached)6.12.2(uncached)6.12.3(uncached)7.0.2(uncached)7.0.3(uncached)7.0.47.2.1(uncached)7.2.2(uncached)7.4.1(uncached)7.4.27.6.1(uncached)7.6.37.8.37.8.4(uncached)7.10.17.10.27.10.38.0.1(uncached)8.0.28.2.18.2.28.4.18.4.28.4.38.4.48.6.18.6.28.6.48.6.58.8.1(uncached)8.8.28.8.38.10.18.10.28.10.3
If you prefer patching GHC bindists to make them work with recent nixpkgs
revisions, checkout
angerman/old-ghc-nix.