Skip to content

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.

2 participants