postgresqlPackages.vectorchord: specify dual license

With compound licenses[1] recently merged, we can now properly represent
dual licensed packages without affecting its non-free status.

See https://github.com/NixOS/nixpkgs/pull/392710#discussion_r2010438719
[1]: https://github.com/NixOS/nixpkgs/pull/468378
This commit is contained in:
Diogo Correia
2026-04-20 12:34:38 +01:00
parent 181a68a796
commit 84ddd9dcab
@@ -92,7 +92,10 @@ buildPgrxExtension (finalAttrs: {
changelog = "https://github.com/tensorchord/VectorChord/releases/tag/${finalAttrs.version}";
description = "Scalable, fast, and disk-friendly vector search in Postgres, the successor of pgvecto.rs";
homepage = "https://github.com/tensorchord/VectorChord";
license = lib.licenses.agpl3Only; # dual licensed with Elastic License v2 (ELv2)
license = lib.licenses.OR [
lib.licenses.agpl3Only
lib.licenses.elastic20
];
maintainers = with lib.maintainers; [
diogotcorreia
];