
19 Sep
2017
19 Sep
'17
12:52 p.m.
Matthew Pickering
Something like this is definitely useful for testing.
When building GHC HEAD I override the ghcHEAD derivation on nixpkgs to the right commit I want to use and then can similarly specify which patches and versions of packages to use by modifying the 'configuration-ghc-head.nix' file. This is quite a bit more flexible than just patch files as I can point to specific commits in git repos etc.
This sounds amazing. I think you may have finally sold me on Nix.