-
Notifications
You must be signed in to change notification settings - Fork 164
Update flake.nix to make GHC 9.10,1 and GHC 9.8.2 available #2810
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
I changed the default version to GHC 9.10 for different reasons:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
nix/overlay.nix
Outdated
| { }; | ||
| # doctest-parallel = hprev.callHackage "doctest-parallel" "0.3.1" { }; | ||
| doctest-parallel = hprev.callHackageDirect { pkg = "doctest-parallel"; ver = "0.3.1"; sha256 = "sha256-j0mk4RTEau6Cl90E8vMWZiA/ldRRurtLSYbGGE+q/vk="; } {}; | ||
| # doctest-parallel = hprev.callHackageDirect { pkg = "doctest-parallel"; ver = "0.3.1"; sha256 = "sha256-j0mk4RTEau6Cl90E8vMWZiA/ldRRurtLSYbGGE+q/vk="; } {}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's up with this? Can't we simply remove it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, I guess we can just remove it indeed!
029419b to
8bf1e67
Compare
* Update GHC 9.6.2 to 9.6.6. * Enable GHC 9.8.2 and remove GHC 9.0.2. * Export ghcVersion from flake.nix. * Remove Hackage calls for packages already in nixpkgs. * Add GHC 9.10.1. * Add comments to overlays. * Make GHC 9.10 the default in flake.nix. * Remove commented code.
The goal of this PR is to make Clash's flake usable with newer versions of GHC - 9.6.2 has this notorious problem where it throws an error when you output VHDL/Verilog. I enabled support for 9.6.6 and 9.8.2 in
flake.nixalong with updatingflake.lock.Still TODO: