about summary refs log tree commit diff
path: root/pkgs/by-name/sc
diff options
context:
space:
mode:
authorJon Seager <jon@sgrs.uk>2024-03-18 08:33:00 +0000
committerJon Seager <jon@sgrs.uk>2024-03-18 08:33:44 +0000
commitea47f5e75ce821c7b4386c36b05a8abbbb27af49 (patch)
tree87278e55861f51345ad70f2ff384b66be44f1044 /pkgs/by-name/sc
parent7b9b395e9b582f2ab236b8fba5d994b6d6ada491 (diff)
scrutiny: add nix-update-script
Diffstat (limited to 'pkgs/by-name/sc')
-rw-r--r--pkgs/by-name/sc/scrutiny/package.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/by-name/sc/scrutiny/package.nix b/pkgs/by-name/sc/scrutiny/package.nix
index 26c22a61fe71c..34712b96e431d 100644
--- a/pkgs/by-name/sc/scrutiny/package.nix
+++ b/pkgs/by-name/sc/scrutiny/package.nix
@@ -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.";