diff options
author | Emery Hemingway <ehmry@posteo.net> | 2020-04-16 12:51:53 +0530 |
---|---|---|
committer | Emery Hemingway <ehmry@posteo.net> | 2020-04-22 11:45:04 +0530 |
commit | 480ed5f90968ee81b792ce24c9928230e5bc4573 (patch) | |
tree | 1b782dd4e31fccfc9fce184da5db918182d91cf4 /pkgs/applications/networking/syncthing | |
parent | 92bc6e30ec297aaf94200ed5a5fde4fdc40ed24e (diff) |
syncthing: declare tests from nixosTests
Diffstat (limited to 'pkgs/applications/networking/syncthing')
-rw-r--r-- | pkgs/applications/networking/syncthing/default.nix | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/pkgs/applications/networking/syncthing/default.nix b/pkgs/applications/networking/syncthing/default.nix index 31cf76be5efc..94fec82fdf72 100644 --- a/pkgs/applications/networking/syncthing/default.nix +++ b/pkgs/applications/networking/syncthing/default.nix @@ -1,4 +1,4 @@ -{ buildGoModule, stdenv, lib, procps, fetchFromGitHub }: +{ buildGoModule, stdenv, lib, procps, fetchFromGitHub, nixosTests }: let common = { stname, target, postInstall ? "" }: @@ -35,6 +35,11 @@ let inherit postInstall; + passthru.tests = with nixosTests; { + init = syncthing-init; + relay = syncthing-relay; + }; + meta = with lib; { homepage = "https://www.syncthing.net/"; description = "Open Source Continuous File Synchronization"; |