Unverified Commit 7b733383 authored by Moraxyc's avatar Moraxyc
Browse files

nezha-theme-admin: add updateScript

parent 9627a793
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@
  lib,
  buildNpmPackage,
  fetchFromGitHub,
  nix-update-script,
}:

buildNpmPackage rec {
@@ -35,6 +36,8 @@ buildNpmPackage rec {
    runHook postInstall
  '';

  passthru.updateScript = nix-update-script { extraArgs = [ "--generate-lockfile" ]; };

  meta = {
    description = "Nezha monitoring admin frontend";
    homepage = "https://github.com/nezhahq/admin-frontend";