prometheus-node-exporter: Add versionCheckHook
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
buildGoModule,
|
||||
fetchFromGitHub,
|
||||
nixosTests,
|
||||
versionCheckHook,
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
@@ -36,6 +37,11 @@ buildGoModule rec {
|
||||
|
||||
passthru.tests = { inherit (nixosTests.prometheus-exporters) node; };
|
||||
|
||||
nativeInstallCheckInputs = [
|
||||
versionCheckHook
|
||||
];
|
||||
doInstallCheck = true;
|
||||
|
||||
meta = {
|
||||
description = "Prometheus exporter for machine metrics";
|
||||
mainProgram = "node_exporter";
|
||||
|
||||
Reference in New Issue
Block a user