alpmestan / ghc.nix

Nix (shell) expression for working on GHC
https://haskell.org/ghc/
BSD 3-Clause "New" or "Revised" License
144 stars 51 forks source link

Add GHC version tags #109

Open zliu41 opened 3 years ago

zliu41 commented 3 years ago

There doesn't seem to be an easy way to tell which commit should be used for which GHC version. It would be helpful to add some tags for that purpose.

bgamari commented 3 years ago

In principle, you should be able to pass, e.g., --argstr version 8.10 to nix-shell to specify which GHC version is being built. IMHO we should try to maintain this for the last three major GHC versions.