Skip to content

Commit 9d6d8ec

Browse files
committed
siyuan: improve updateScript; add maintainer
1 parent a65145f commit 9d6d8ec

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

pkgs/by-name/si/siyuan/package.nix

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,15 +142,23 @@ stdenv.mkDerivation (finalAttrs: {
142142

143143
passthru = {
144144
inherit (finalAttrs.kernel) goModules; # this tricks nix-update into also updating the kernel goModules FOD
145-
updateScript = nix-update-script { };
145+
updateScript = nix-update-script {
146+
extraArgs = [
147+
"--version-regex"
148+
"^v(\\d+\\.\\d+\\.\\d+)$"
149+
];
150+
};
146151
};
147152

148153
meta = {
149154
description = "Privacy-first personal knowledge management system that supports complete offline usage, as well as end-to-end encrypted data sync";
150155
homepage = "https://b3log.org/siyuan/";
151156
license = lib.licenses.agpl3Plus;
152157
mainProgram = "siyuan";
153-
maintainers = with lib.maintainers; [ tomasajt ];
158+
maintainers = with lib.maintainers; [
159+
tomasajt
160+
ltrump
161+
];
154162
platforms = lib.attrNames platformIds;
155163
};
156164
})

0 commit comments

Comments
 (0)