scrutiny: add nix-update-script

This commit is contained in:
Jon Seager
2024-03-18 08:33:44 +00:00
parent 7b9b395e9b
commit ea47f5e75c
+4
View File
@@ -3,6 +3,7 @@
, fetchFromGitHub
, nixosTests
, lib
, nix-update-script
}:
let
pname = "scrutiny";
@@ -35,6 +36,8 @@ let
cp -r dist/* $out
runHook postInstall
'';
passthru.updatescript = nix-update-script { };
};
in
buildGoModule rec {
@@ -56,6 +59,7 @@ buildGoModule rec {
'';
passthru.tests.scrutiny = nixosTests.scrutiny;
passthru.updatescript = nix-update-script { };
meta = {
description = "Hard Drive S.M.A.R.T Monitoring, Historical Trends & Real World Failure Thresholds.";