headscale: add nixos test to passthru.tests

This commit is contained in:
Gabriel Fontes 2023-05-21 01:41:14 -03:00
parent d18612fa7c
commit 9ad867674e
No known key found for this signature in database
GPG Key ID: 2E54EA7BFE630916

View File

@ -3,6 +3,7 @@
buildGoModule,
fetchFromGitHub,
installShellFiles,
nixosTests,
}:
buildGoModule rec {
pname = "headscale";
@ -31,6 +32,8 @@ buildGoModule rec {
--zsh <($out/bin/headscale completion zsh)
'';
passthru.tests = { inherit (nixosTests) headscale; };
meta = with lib; {
homepage = "https://github.com/juanfont/headscale";
description = "An open source, self-hosted implementation of the Tailscale control server";