nezha-theme-user: add updateScript

This commit is contained in:
Moraxyc
2025-01-22 13:03:11 +08:00
parent 4b57591aa8
commit eee45208ff
@@ -2,6 +2,7 @@
lib,
buildNpmPackage,
fetchFromGitHub,
nix-update-script,
}:
buildNpmPackage rec {
@@ -41,6 +42,8 @@ buildNpmPackage rec {
runHook postInstall
'';
passthru.updateScript = nix-update-script { extraArgs = [ "--generate-lockfile" ]; };
meta = {
description = "Nezha monitoring user frontend based on next.js";
changelog = "https://github.com/hamster1963/nezha-dash-v1/releases/tag/v${version}";