about summary refs log tree commit diff
path: root/pkgs/applications/networking/syncthing
diff options
context:
space:
mode:
authorBjørn Forsman <bjorn.forsman@gmail.com>2022-08-02 14:12:52 +0200
committerBjørn Forsman <bjorn.forsman@gmail.com>2022-08-02 14:36:35 +0200
commit5959e283cd9ce7dc8d08afcd22d62a6168d4bbbd (patch)
treefd6468af616283bf9e45878134a995ee8455949f /pkgs/applications/networking/syncthing
parent38bfd83490a7d9522aa554006d973a03cf742077 (diff)
syncthing: also link nixosTests.syncthing in passthru.tests
Before this change it linked syncthing-init and syncthing-relay but was
missing the main syncthing test itself.
Diffstat (limited to 'pkgs/applications/networking/syncthing')
-rw-r--r--pkgs/applications/networking/syncthing/default.nix5
1 files changed, 2 insertions, 3 deletions
diff --git a/pkgs/applications/networking/syncthing/default.nix b/pkgs/applications/networking/syncthing/default.nix
index f09f9fb45ab3f..39e76da67bc43 100644
--- a/pkgs/applications/networking/syncthing/default.nix
+++ b/pkgs/applications/networking/syncthing/default.nix
@@ -34,9 +34,8 @@ let
 
       inherit postInstall;
 
-      passthru.tests = with nixosTests; {
-        init = syncthing-init;
-        relay = syncthing-relay;
+      passthru.tests = {
+        inherit (nixosTests) syncthing syncthing-init syncthing-relay;
       };
 
       meta = with lib; {