Skip to content
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

update flakes to compile with ghc928 and ghc962 #3641

Merged
merged 5 commits into from
Jun 14, 2023

Conversation

smunix
Copy link
Contributor

@smunix smunix commented Jun 10, 2023

@mpickering @guibou @Avi-D-coder @pepeiborra @michaelpj -

To ensure successful compilation of HLS with the recent nix update, I had to apply a patch to the 'implicit-hie-cradle' package. However, I've noticed that there are multiple repositories containing 'hie-bios' related packages that HLS relies on, each at different versions. These repositories include:

  1. github:haskell/hie-bios
  2. github:mpickering/hie-bios
  3. github:Avi-d-coder/implicit-hie-cradle@0.4.0.2
  4. github:Avi-d-coder/implicit-hie-cradle@0.5.0.1

Adding another repository (github:smunix/implicit-hie-cradle@smunxi-patch-hls-1) to address the compilation issue might be exacerbating the situation. Hence, I'm submitting this pull request to initiate a discussion regarding a unified strategy going forward. I would appreciate your thoughts on this matter.

edit: You can find the minimalistic changes I made at the following link: GitHub - smunix/implicit-hie-cradle

@@ -60,8 +60,18 @@
flake = false;
};

fourmolu-012 = {
url = "https://hackage.haskell.org/package/fourmolu-0.12.0.0/fourmolu-0.12.0.0.tar.gz";
# smunix: github:haskell/hie-bios defines
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here's a more detailed explanation of the reasons why I had to patch implicit-hie-cradle

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PRs welcome on implicit-hie* repos. Saddly I don't have much time for Haskell these days. If your 0.5 branch is ready make a PR and I'll publish that to hackage tomorrow.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will give it another week; we may need to coordinate with a separate PR for a new version of HLS. That effort is still ongoing

@smunix smunix force-pushed the smunix-patch-6 branch 2 times, most recently from dfc1595 to d287267 Compare June 10, 2023 16:25
(there doesn't appear to be any functional changes)
@fendor
Copy link
Collaborator

fendor commented Jun 12, 2023

@smunix this is ready to go? I am not really reviewing this, but CI is green, so I assume this is good

@fendor fendor added the merge me Label to trigger pull request merge label Jun 12, 2023
@smunix
Copy link
Contributor Author

smunix commented Jun 12, 2023

@smunix this is ready to go? I am not really reviewing this, but CI is green, so I assume this is good

Yes, this is ready for merge

@mergify mergify bot merged commit c3ddf43 into haskell:master Jun 14, 2023
47 checks passed
@fendor fendor mentioned this pull request Aug 8, 2023
19 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merge me Label to trigger pull request merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants