Skip to content

nixos/matrix-appservice-discord: drop - #529299

Merged
dotlambda merged 1 commit into
NixOS:masterfrom
qweered:matrix-drop
Jul 9, 2026
Merged

dotlambda merged 1 commit into
NixOS:masterfrom
qweered:matrix-drop

Conversation

@qweered

@qweered qweered commented Jun 7, 2026 •

Copy link
Copy Markdown
Contributor

Tracking #515284
Closes #528500
Closes #527654
Closes #472245

Package is abandoned upstream since Sep 15, 2023 and the last package in nixpkgs that uses eoled nodejs_20. Migration to newer nodejs require unknown amount of patches. Modern maintained altnernative exists

@nixpkgs-ci
nixpkgs-ci Bot requested a review from pacien June 7, 2026 22:55
@nixpkgs-ci nixpkgs-ci Bot added 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 8.has: changelog This PR adds or changes release notes 8.has: module (update) This PR changes an existing module in `nixos/` 8.has: documentation This PR adds or changes documentation labels Jun 7, 2026

@pacien pacien left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The matrix-appservice-discord already had a long period of inactivity before receiving a new release in the past.
I've just poked upstream (matrix-org/matrix-appservice-discord#935), so let's wait a bit (perhaps a month) before considering it unmaintained and dropping it from nixpkgs.

If it is indeed dead, I'm fine (as package and module maintainer) with it being removing on master/unstable.
We should however keep it in the current stable branch (26.05).
(So issue #527654 should not be closed by this, and PR #528500 should be rebased to 26.05)

@qweered

qweered commented Jun 8, 2026 •

Copy link
Copy Markdown
Contributor Author

We should however keep it in the current stable branch (26.05)

Sure, breaking changes should not be backported anyway

@khaneliman khaneliman left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM after merge conflicts resolved.

@nixpkgs-ci nixpkgs-ci Bot added 2.status: merge conflict This PR has merge conflicts with the target branch 12.approvals: 1 This PR was reviewed and approved by one person. labels Jun 9, 2026
@qweered

qweered commented Jun 10, 2026

Copy link
Copy Markdown
Contributor Author

Resolved merge conflict

@nixpkgs-ci nixpkgs-ci Bot removed the 2.status: merge conflict This PR has merge conflicts with the target branch label Jun 10, 2026
@qweered
qweered marked this pull request as draft June 10, 2026 16:45
@qweered
qweered marked this pull request as ready for review June 10, 2026 16:45
@qweered qweered closed this Jun 10, 2026
@qweered qweered reopened this Jun 10, 2026

@D4ndellion D4ndellion left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should just drop it, it's been 3 years, it already officially was set as unmaintained once but then "rescued" via the foundation, which in reality meant element, which have not spent much of any resources on any bridges other than matrix-hookshot, somewhat the irc bridge, and maybe the slack bridge?

They used to maintain these things for their SaaS-platform, but I dont think it really includes these kinds of bridges anymore, their focus has shifted.

So I just don't see the answer being anything other than that it is unmaintained.

material-kwin-decoration = throw "'material-kwin-decoration' has been removed, as it is only compatible with Plasma 5, which is EOL"; # Added 2025-08-20
mathlibtools = throw "mathlibtools has been removed as it was archived upstream in 2023"; # Added 2025-07-09
matomo_5 = throw "'matomo_5' has been renamed to/replaced by 'matomo'"; # Converted to throw 2025-10-27
matrix-appservice-discord = throw "'matrix-appservice-discord' has been removed as it is no longer actively maintained upstream. Use the actively-maintained puppeting bridge 'mautrix-discord' instead"; # Added 2026-06-08

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Its pretty unfortunate that the only option is a puppeting bridge, it's not really like for like.

The closest actual alternative is I think ooye, but it is not packaged https://cgit.rory.gay/nix/OOYE-module.git/

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well, what you linked is already packaged ;D

Sadly no license though, so we can't just adopt it into Nixpkgs.

This is the upstream project: https://gitdab.com/cadence/out-of-your-element.git

@qweered qweered Jun 24, 2026 •

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Atemu Atemu Jun 26, 2026 •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I meant the 3rd party Nix packaging, not upstream.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi, maintainer of that package here, I'm okay with having it get upstreamed (the main reason i didn't was that i felt like the way it handles the appservice.yaml may not be up to nixpkgs standards?)
Is there anything I can do to facilitate that?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there anything I can do to facilitate that?

You can either create a Nixpkgs PR for it, or license https://cgit.rory.gay/nix/OOYE-module.git/ under the MIT license to make it possible for others to reuse your work inside Nixpkgs.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is opinion n=1 and I don't know the details for this specific case but the generic reasons why nixpkgs might not want a module I can think of:

  • it's actively harmful (e.g. doing something dangerous/unexpected without properly communicating that fact)
  • it's a maintenance burden (or likely to become one)

If those are not the case, I find having the module to be strictly preferable to not having it.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We already dropped a bunch of modules with unmaintained/broken packages. It makes no sense to keep module if it doesn't work

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CC @dotlambda woops, I'd almost forgotten about this, saw the emails from this PR... In any case, just went and pushed the MIT license into that repo, hope that works :)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We already dropped a bunch of modules with unmaintained/broken packages. It makes no sense to keep module if it doesn't work

Note that my comment was RE: @TheArcaneBrony's uncertainty whether their module for out-of-your-element would be acceptable upstream. matrix-appservice-discord should obviously just go.

@nixpkgs-ci nixpkgs-ci Bot added 12.approvals: 2 This PR was reviewed and approved by two persons. and removed 12.approvals: 1 This PR was reviewed and approved by one person. labels Jun 14, 2026
@qweered qweered mentioned this pull request Jun 16, 2026
24 tasks done

@pacien pacien left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No sign of activity received from upstream for a month after raising the issue (matrix-org/matrix-appservice-discord#935).
All good for dropping this package and module 👍

@nixpkgs-ci nixpkgs-ci Bot added 12.approvals: 3+ This PR was reviewed and approved by three or more persons. 12.approved-by: package-maintainer This PR was reviewed and approved by a maintainer listed in any of the changed packages. and removed 12.approvals: 2 This PR was reviewed and approved by two persons. labels Jul 8, 2026
@dotlambda
dotlambda added this pull request to the merge queue Jul 9, 2026
Merged via the queue into NixOS:master with commit b540211 Jul 9, 2026
60 of 61 checks passed
@qweered
qweered deleted the matrix-drop branch July 9, 2026 17:53
dotlambda referenced this pull request in ocf/nix Jul 9, 2026
but pull matrix-appservice-discord from pkgs-deprecated (25.11) to avoid
the errors with the new version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 8.has: changelog This PR adds or changes release notes 8.has: documentation This PR adds or changes documentation 8.has: module (update) This PR changes an existing module in `nixos/` 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 12.approvals: 3+ This PR was reviewed and approved by three or more persons. 12.approved-by: package-maintainer This PR was reviewed and approved by a maintainer listed in any of the changed packages.

Projects

Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

nixos/matrix-appservice-discord: nodeAppDir missing error after update to 26.05 Unreproducible Package: matrix-appservice-discord

7 participants