3
0
Fork 0
forked from mirrors/nixpkgs

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