forked from mirrors/nixpkgs
headscale: add nixos test to passthru.tests
This commit is contained in:
parent
d18612fa7c
commit
9ad867674e
|
@ -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";
|
||||||
|
|
Loading…
Reference in a new issue