Draft: Change to default.nix being an overlay
Hi,
These are some changes I've been using to create package sets based on ghcHEAD using head.hackages patches.
The existing nix scripts, that these mostly replace, are not particularly useful because they hardcode old versions of nixpkgs and old versions of ghc.
Instead, offer an overlay that modifies the ghcHEAD
packageset. Use haskellPackages
where possible to maximise cache hits.
I am happy to massage this into shape that works for everyone if you think it would be useful to include.
I don't expect there to be existing users, because of the aforementioned old version issues, but perhaps I am wrong.
note these changes include !167 (merged).