mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-12 20:55:31 +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,
|
lib,
|
||||||
buildNpmPackage,
|
buildNpmPackage,
|
||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
|
nix-update-script,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildNpmPackage rec {
|
buildNpmPackage rec {
|
||||||
|
@ -41,6 +42,8 @@ buildNpmPackage rec {
|
||||||
runHook postInstall
|
runHook postInstall
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
passthru.updateScript = nix-update-script { extraArgs = [ "--generate-lockfile" ]; };
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Nezha monitoring user frontend based on next.js";
|
description = "Nezha monitoring user frontend based on next.js";
|
||||||
changelog = "https://github.com/hamster1963/nezha-dash-v1/releases/tag/v${version}";
|
changelog = "https://github.com/hamster1963/nezha-dash-v1/releases/tag/v${version}";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue