about summary refs log tree commit diff
path: root/pkgs/by-name/am
diff options
context:
space:
mode:
authorMario Rodas <marsam@users.noreply.github.com>2023-11-19 18:55:57 -0500
committerGitHub <noreply@github.com>2023-11-19 18:55:57 -0500
commitfa14a14694c4dce221b18bb36f1ebeb181920941 (patch)
tree7d221f523154fca6d3b6f2bed02501b317f66b10 /pkgs/by-name/am
parentc93541b24eb1166ba14aa34fe315cbe26c93c190 (diff)
parent4f7eab6de1fb2c3abee2b0fd7cc503752f60270a (diff)
Merge pull request #258036 from anthonyroussel/fix-ssm-seelog
nixos/amazon-ssm-agent: fix missing seelog.xml file
Diffstat (limited to 'pkgs/by-name/am')
-rw-r--r--pkgs/by-name/am/amazon-ssm-agent/package.nix12
1 files changed, 8 insertions, 4 deletions
diff --git a/pkgs/by-name/am/amazon-ssm-agent/package.nix b/pkgs/by-name/am/amazon-ssm-agent/package.nix
index a6a8a690d538c..5ad319042bf70 100644
--- a/pkgs/by-name/am/amazon-ssm-agent/package.nix
+++ b/pkgs/by-name/am/amazon-ssm-agent/package.nix
@@ -11,6 +11,7 @@
 , dmidecode
 , bashInteractive
 , nix-update-script
+, nixosTests
 , testers
 , amazon-ssm-agent
 , overrideEtc ? true
@@ -147,11 +148,14 @@ buildGoModule rec {
   '';
 
   passthru = {
-    updateScript = nix-update-script { };
-    tests.version = testers.testVersion {
-      package = amazon-ssm-agent;
-      command = "amazon-ssm-agent --version";
+    tests = {
+      inherit (nixosTests) amazon-ssm-agent;
+      version = testers.testVersion {
+        package = amazon-ssm-agent;
+        command = "amazon-ssm-agent --version";
+      };
     };
+    updateScript = nix-update-script { };
   };
 
   __darwinAllowLocalNetworking = true;