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

Bump ghc912 fix ghc910 #143

Merged
merged 10 commits into from
Jan 3, 2025
Merged

Bump ghc912 fix ghc910 #143

merged 10 commits into from
Jan 3, 2025

Conversation

guibou
Copy link
Owner

@guibou guibou commented Jan 3, 2025

  • Fix test with GHC 9.10
  • Fix build with GHC 9.12
  • A lot af cleanup in the nix logic / formatting / testing / ... See indiidual commits.

guibou added 10 commits January 3, 2025 15:42
For *reasons* the test are failing on GHC 9.10 because the amount of
whitespaces changed. The golden test logic now just trim the content.

Close #142.
Note that in order to get correct behavior, I had to move the generated
(`.hi`, `.o`) files into a temporary directory.
- replace `pyf_all` by `nix flake check`, this is simpler.
- clean the naming in the flake (addressing warnings from `nix flake
  check`)
- replace the `source` regex by `./.` which always uses what's
  checkouted by nix. The cost is that a change in nix forces a rebuild
  of the complete project, but code is simpler.
- Mostly, I removed the `default_pyf` and instead use the `default` nix
  attribute which uses `haskellPackages`, so it is always the default.
This was a lot of code, mostly not used.
@guibou guibou force-pushed the bump_ghc912_fix_ghc910 branch from 37b8857 to 8117a9f Compare January 3, 2025 12:50
@guibou guibou merged commit e6e287d into main Jan 3, 2025
17 checks passed
@guibou guibou deleted the bump_ghc912_fix_ghc910 branch January 3, 2025 13:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant