summary refs log tree commit diff
path: root/pkgs/tools/networking/openssh
diff options
context:
space:
mode:
authorLéo Gaspard <leo@gaspard.io>2021-04-04 00:35:03 +0200
committerLéo Gaspard <leo@gaspard.io>2021-05-08 21:42:50 +0200
commit53f43a2048f9189427e8100081077b36322cccd9 (patch)
tree72786f68b6a9df102f4a10ca75797c791e0a91d5 /pkgs/tools/networking/openssh
parent865d28a8b6c23b60f082680213a09462d43f86be (diff)
openssh: add link to related nixos test
It'd certainly be better to have an openssh-specific integration test,
but it's not there yet and this is better than nothing.
Diffstat (limited to 'pkgs/tools/networking/openssh')
-rw-r--r--pkgs/tools/networking/openssh/common.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/tools/networking/openssh/common.nix b/pkgs/tools/networking/openssh/common.nix
index 55babb4ca2dc6..21ad012f3fb9b 100644
--- a/pkgs/tools/networking/openssh/common.nix
+++ b/pkgs/tools/networking/openssh/common.nix
@@ -22,6 +22,7 @@
 , withKerberos ? true
 , libkrb5
 , libfido2
+, nixosTests
 , withFIDO ? stdenv.hostPlatform.isUnix && !stdenv.hostPlatform.isMusl
 , linkOpenssl ? true
 }:
@@ -111,6 +112,10 @@ stdenv.mkDerivation rec {
     "sysconfdir=\${out}/etc/ssh"
   ];
 
+  passthru.tests = {
+    borgbackup-integration = nixosTests.borgbackup;
+  };
+
   meta = {
     description = "An implementation of the SSH protocol${extraDesc}";
     homepage = "https://www.openssh.com/";