From 3e2ee6a2000a69fca1d4027735d29f8af16ef507 Mon Sep 17 00:00:00 2001 From: Mirza Arnaut Date: Thu, 9 Apr 2026 00:53:08 +0200 Subject: [PATCH] macmon: add nix-update-script Makes it easier to update the package down the line, especially with the versionCheckHook checking if it compiled correctly! --- pkgs/by-name/ma/macmon/package.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/by-name/ma/macmon/package.nix b/pkgs/by-name/ma/macmon/package.nix index 87b15ec309e3..516d0971bec4 100644 --- a/pkgs/by-name/ma/macmon/package.nix +++ b/pkgs/by-name/ma/macmon/package.nix @@ -3,6 +3,7 @@ rustPlatform, fetchFromGitHub, versionCheckHook, + nix-update-script, }: rustPlatform.buildRustPackage (finalAttrs: { @@ -23,6 +24,8 @@ rustPlatform.buildRustPackage (finalAttrs: { ]; doInstallCheck = true; + passthru.updateScript = nix-update-script { }; + meta = { description = "Sudoless performance monitoring for Apple Silicon processors"; homepage = "https://github.com/vladkens/macmon";