Skip to content

Commit

Permalink
mactop: enable version check
Browse files Browse the repository at this point in the history
  • Loading branch information
natsukium committed Jan 3, 2025
1 parent 29f117d commit 471bff0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pkgs/by-name/ma/mactop/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
lib,
buildGoModule,
fetchFromGitHub,
versionCheckHook,
}:

buildGoModule rec {
Expand All @@ -22,6 +23,10 @@ buildGoModule rec {
"-w"
];

doInstallCheck = true;
nativeInstallCheckInputs = [ versionCheckHook ];
versionCheckProgramArg = [ "--version" ];

meta = {
description = "Terminal-based monitoring tool 'top' designed to display real-time metrics for Apple Silicon chips";
homepage = "https://github.com/context-labs/mactop";
Expand Down

0 comments on commit 471bff0

Please sign in to comment.