Merge pull request #283368 from dotlambda/tailscale-passthru-tests

tailscale: add passthru.tests
This commit is contained in:
maxine 2024-01-24 22:48:01 +01:00 committed by GitHub
commit fa1f4ab8c3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,4 +1,15 @@
{ lib, stdenv, buildGoModule, fetchFromGitHub, makeWrapper, iptables, iproute2, procps, shadow, getent }:
{ lib
, stdenv
, buildGoModule
, fetchFromGitHub
, makeWrapper
, getent
, iproute2
, iptables
, shadow
, procps
, nixosTests
}:
let
version = "1.58.2";
@ -38,6 +49,10 @@ buildGoModule {
install -D -m0444 -t $out/lib/systemd/system ./cmd/tailscaled/tailscaled.service
'';
passthru.tests = {
inherit (nixosTests) headscale;
};
meta = with lib; {
homepage = "https://tailscale.com";
description = "The node agent for Tailscale, a mesh VPN built on WireGuard";