Skip to content

Update hpack.cabal to file generated by main branch version of Hpack#606

Merged
mpilgrem merged 1 commit intomainfrom
cabal-file
Mar 14, 2025
Merged

Update hpack.cabal to file generated by main branch version of Hpack#606
mpilgrem merged 1 commit intomainfrom
cabal-file

Conversation

@mpilgrem
Copy link
Copy Markdown
Collaborator

The main branch version of Hpack renders hpack.cabal differently from the file in the repository.

@mpilgrem mpilgrem merged commit b342135 into main Mar 14, 2025
10 checks passed
@mpilgrem mpilgrem deleted the cabal-file branch March 14, 2025 20:59
@sol
Copy link
Copy Markdown
Owner

sol commented Mar 26, 2025

The main branch version of Hpack renders hpack.cabal differently from the file in the repository.

@mpilgrem This is only true if you either passed --canonical to hpack, or if you deleted the existing hpack.cabal.

Hpack extract formatting hints from any existing .cabal file and reproduce the new .cabal file using those formatting hints. This results in smaller git diffs and as a result makes it easier to spot any differences when migrating an existing Cabal project to Hpack.

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