mox: add updateScript

This commit is contained in:
Sizhe Zhao 2025-07-07 17:35:43 +08:00
parent 09388f9aa4
commit 46697bcabc
No known key found for this signature in database
GPG Key ID: ED1807251A7DA08F

View File

@ -2,6 +2,7 @@
lib,
buildGoModule,
fetchFromGitHub,
nix-update-script,
}:
buildGoModule (finalAttrs: {
@ -27,6 +28,8 @@ buildGoModule (finalAttrs: {
"-X github.com/mjl-/mox/moxvar.VersionBare=${finalAttrs.version}"
];
passthru.updateScript = nix-update-script { };
meta = {
description = "Modern full-featured open source secure mail server for low-maintenance self-hosted email";
mainProgram = "mox";