Skip to content

Commit 471bff0

Browse files
committed
mactop: enable version check
1 parent 29f117d commit 471bff0

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

pkgs/by-name/ma/mactop/package.nix

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
lib,
33
buildGoModule,
44
fetchFromGitHub,
5+
versionCheckHook,
56
}:
67

78
buildGoModule rec {
@@ -22,6 +23,10 @@ buildGoModule rec {
2223
"-w"
2324
];
2425

26+
doInstallCheck = true;
27+
nativeInstallCheckInputs = [ versionCheckHook ];
28+
versionCheckProgramArg = [ "--version" ];
29+
2530
meta = {
2631
description = "Terminal-based monitoring tool 'top' designed to display real-time metrics for Apple Silicon chips";
2732
homepage = "https://github.com/context-labs/mactop";

0 commit comments

Comments
 (0)