Unverified Commit 3e2ee6a2 authored by Mirza Arnaut's avatar Mirza Arnaut
Browse files

macmon: add nix-update-script

Makes it easier to update the package down the line,
especially with the versionCheckHook checking if it compiled correctly!
parent 489f8b25
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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";