mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03:00
nezha-theme-user: add updateScript
This commit is contained in:
parent
4b57591aa8
commit
eee45208ff
1 changed files with 3 additions and 0 deletions
|
@ -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}";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue