From e758231d105d441f37b661e77e96cfca4ed3a043 Mon Sep 17 00:00:00 2001 From: David Wronek Date: Thu, 28 Aug 2025 11:09:49 +0200 Subject: [PATCH] sshwifty: add NixOS test Signed-off-by: David Wronek --- pkgs/by-name/ss/sshwifty/package.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkgs/by-name/ss/sshwifty/package.nix b/pkgs/by-name/ss/sshwifty/package.nix index fd9ac10b25f2..934fc1a2186e 100644 --- a/pkgs/by-name/ss/sshwifty/package.nix +++ b/pkgs/by-name/ss/sshwifty/package.nix @@ -4,6 +4,7 @@ buildNpmPackage, fetchFromGitHub, versionCheckHook, + nixosTests, nix-update-script, go_1_25, }: @@ -52,7 +53,10 @@ buildGo125Module (finalAttrs: { nativeInstallCheckInputs = [ versionCheckHook ]; doInstallCheck = true; - passthru.updateScript = nix-update-script { }; + passthru = { + tests = { inherit (nixosTests) sshwifty; }; + updateScript = nix-update-script { }; + }; meta = { description = "WebSSH & WebTelnet client";