Skip to content

trilium: declare as unfree because of CKEditor premium features - #553729

Closed
Zocker1999NET wants to merge 2 commits into
NixOS:masterfrom
Zocker1999NET:trilium-unfree
Closed

Zocker1999NET wants to merge 2 commits into
NixOS:masterfrom
Zocker1999NET:trilium-unfree

Conversation

@Zocker1999NET

@Zocker1999NET Zocker1999NET commented Aug 17, 2026 •

Copy link
Copy Markdown
Member

Since commit TriliumNext/Trilium@3b579a3, the prebuilt binary release of Trilium includes the proprietary dependency ckeditor5-premium-features. This makes the release as downloaded from GitHub proprietary & possibly even illegal to distribute because of the combination of built AGPL source code with a non-AGPL-compatible dependency.

Therefore this commit declares the trilium-desktop package as (also) unfree to avoid future versions of the trilium-desktop derivation to be cached by Hydra & to inform users about this change.

I made a longer explanation available in TriliumNext/Trilium#11066.

Things done

Since commit
TriliumNext/Trilium@3b579a3,
the prebuilt binary release of Trilium includes the proprietary
dependency `ckeditor5-premium-features`.
This makes the release as downloaded from GitHub proprietary
& possibly even illegal to distribute because of the combination of
built AGPL source code with a non-AGPL-compatible dependency.

Therefore this commit declares the trilium-desktop package as (also)
unfree to avoid future versions of the trilium-desktop derivation to
be cached by Hydra & to inform users about this change.
Since commit
TriliumNext/Trilium@3b579a3,
the prebuilt binary release of Trilium includes the proprietary
dependency `ckeditor5-premium-features`.
This makes the release as downloaded from GitHub proprietary
& possibly even illegal to distribute because of the combination of
built AGPL source code with a non-AGPL-compatible dependency.

Therefore this commit declares the trilium-server package as (also)
unfree to avoid future versions of the trilium-server derivation to
be cached by Hydra & to inform users about this change.
Copilot AI lite review requested due to automatic review settings August 17, 2026 22:02

Copilot AI 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.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@nixpkgs-ci nixpkgs-ci Bot added 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux. labels Aug 17, 2026
@GraysonTinker GraysonTinker added the 1.severity: legal This PR or issue raises or fixes a legal issue, e.g. licensing compliance label Aug 18, 2026
license = lib.licenses.agpl3Plus;
license = with lib.licenses; [
agpl3Plus # trilium code
unfree # ckeditor5-premium-features dependency, which is part of the prebuilt binary

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.

We must make sure the unfree license will not get triggered for the new major version which already strips the premium plugins with our own home-made implementations that have nothing to do with the premium plugins.

e.g. versionOlder "0.105.0"

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.

How soon approximately would you plan to release?

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.

@eclairevoyant , that release is planned for tomorrow or the day after.

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.

In that case I'd personally rather hold off on this PR and just get the new version pushed once the release is completed.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

IMO it would be more correct to push this now without adding a versionOlder statement, because then when the update is released, just removing the unfree again is not a lot of work & can happen in the same PR (for which you will receive a notification as a maintainer).
But I can live with it when the next version is released this week.

@FliegendeWurst

Copy link
Copy Markdown
Member

Fixed by the update in #554847

Zocker1999NET added a commit to Zocker1999NET/nixpkgs that referenced this pull request Sep 2, 2026
Since commit
TriliumNext/Trilium@3b579a3,
the prebuilt binary release of Trilium includes the proprietary
dependency `ckeditor5-premium-features`.
This makes the release as downloaded from GitHub proprietary
& possibly even illegal to distribute because of the combination of
built AGPL source code with a non-AGPL-compatible dependency.

Therefore this commit declares the trilium-desktop package as (also)
unfree to avoid future versions of the trilium-desktop derivation to
be cached by Hydra & to inform users about this change.

Not-cherry-picked-because: already obsolete on master due to Trilium
update to free version, see original PR
NixOS#553729.
Zocker1999NET added a commit to Zocker1999NET/nixpkgs that referenced this pull request Sep 2, 2026
Since commit
TriliumNext/Trilium@3b579a3,
the prebuilt binary release of Trilium includes the proprietary
dependency `ckeditor5-premium-features`.
This makes the release as downloaded from GitHub proprietary
& possibly even illegal to distribute because of the combination of
built AGPL source code with a non-AGPL-compatible dependency.

Therefore this commit declares the trilium-server package as (also)
unfree to avoid future versions of the trilium-server derivation to
be cached by Hydra & to inform users about this change.

Not-cherry-picked-because: already obsolete on master due to Trilium
update to free version, see original PR
NixOS#553729.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

1.severity: legal This PR or issue raises or fixes a legal issue, e.g. licensing compliance 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants