You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Nixfmt doesn't really have an API surface that would be useful enough on its own. I consider it an end-user application. If some useful and reusable API surface emerges from the codebase, we can still consider packaging that on Hackage.
So I'd propose deprecating the Hackage package and not updating it anymore. This way nixfmt on Hackage will always be the legacy Serokell version.
This will remove a bunch of maintenance burden from the formatter team.
Yeah I could do that, should I do it already or should we wait until we have a first initial release? It might also be a good idea to update the Hackage page with a bit of information about the deprecation.
We looked at this in today's meeting. We'd like to add a note to the existing hackage package (which will require releasing a 0.6.1). Then we'll mark it deprecated with no replacement.
Activity
Sereja313 commentedon Mar 13, 2024
I agree
[-]Remove from Hackage[/-][+]Deprecate Hackage package[/+]Always just executables and don't build haddock
Always just executables and don't build haddock
Always just executables and don't build haddock
dasJ commentedon Apr 2, 2024
Somebody from the maintainers team probably has to do this
infinisil commentedon Apr 2, 2024
Yeah I could do that, should I do it already or should we wait until we have a first initial release? It might also be a good idea to update the Hackage page with a bit of information about the deprecation.
dasJ commentedon Apr 3, 2024
We should also move the
nixfmt-classicpackage in nixpkgs first to make sure it doesn't point to a non-existing hackage package.nixfmt-classic: Stop using the hackage package
jfly commentedon Jul 22, 2025
We looked at this in today's meeting. We'd like to add a note to the existing hackage package
(which will require releasing a 0.6.1). Then we'll mark it deprecated with no replacement.nixos-discourse commentedon Jul 22, 2025
This issue has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/formatting-team-meeting-2025-07-22/67066/1
infinisil commentedon Jul 22, 2025
This is now done: https://hackage.haskell.org/package/nixfmt