Skip to content

Commit ce19de3

Browse files
committed
rsshub: add update script
Signed-off-by: Dan Xin <davinci42.cn@gmail.com>
1 parent ef892a6 commit ce19de3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pkgs/by-name/rs/rsshub/package.nix

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
lib,
33
fetchFromGitHub,
44
makeBinaryWrapper,
5+
nix-update-script,
56
nodejs,
67
pnpm_10,
78
patchelf,
@@ -64,6 +65,8 @@ stdenv.mkDerivation (finalAttrs: {
6465
--add-flags "$out/lib/rsshub/dist/index.mjs"
6566
'';
6667

68+
passthru.updateScript = nix-update-script { extraArgs = [ "--version=branch" ]; };
69+
6770
meta = {
6871
description = "RSS feed generator";
6972
longDescription = ''

0 commit comments

Comments
 (0)