Skip to content

Deprecate Hackage package #161

Closed
Closed

Description

@infinisil

Nixfmt is currently on Hackage, but I don't think that's necessary:

  • While pkgs.nixfmt is currently being populated by Hackage, there's no reason this would be necessary to build a Haskell package in Nix. Indeed the new pkgs.nixfmt-rfc-style works without Hackage
  • 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.

Ping @Sereja313 @Lucus16 @yorickvP

Activity

  1. Sereja313 commented on Mar 13, 2024

    @Sereja313
    Member

    I agree

  2. changed the title [-]Remove from Hackage[/-] [+]Deprecate Hackage package[/+] on Mar 14, 2024
  3. dasJ commented on Apr 2, 2024

    @dasJ
    Member

    Somebody from the maintainers team probably has to do this

  4. infinisil commented on Apr 2, 2024

    @infinisil
    MemberAuthor

    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.

  5. dasJ commented on Apr 3, 2024

    @dasJ
    Member

    We should also move the nixfmt-classic package in nixpkgs first to make sure it doesn't point to a non-existing hackage package.

  6. jfly commented on Jul 22, 2025

    @jfly
    Collaborator

    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.

  7. nixos-discourse commented on Jul 22, 2025

    @nixos-discourse
  8. infinisil commented on Jul 22, 2025

    @infinisil
    MemberAuthor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions