macmon: add nix-update-script

Makes it easier to update the package down the line,
especially with the versionCheckHook checking if it compiled correctly!
This commit is contained in:
Mirza Arnaut
2026-04-09 00:53:08 +02:00
parent 489f8b25e3
commit 3e2ee6a200
+3
View File
@@ -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";