yggdrasil: declare tests from nixosTests

This commit is contained in:
Emery Hemingway 2020-04-16 12:33:01 +05:30
parent a2e3fc32b3
commit 59219a1e55

View File

@ -1,4 +1,4 @@
{ lib, buildGoModule, fetchFromGitHub }: { lib, buildGoModule, fetchFromGitHub, nixosTests }:
buildGoModule rec { buildGoModule rec {
pname = "yggdrasil"; pname = "yggdrasil";
@ -27,6 +27,8 @@ buildGoModule rec {
-s -w -s -w
''; '';
passthru.tests.basic = nixosTests.yggdrasil;
meta = with lib; { meta = with lib; {
description = description =
"An experiment in scalable routing as an encrypted IPv6 overlay network"; "An experiment in scalable routing as an encrypted IPv6 overlay network";