corerad: add NixOS module test as passthru test
Signed-off-by: Matt Layher <mdlayher@gmail.com>
This commit is contained in:
parent
09f0d65317
commit
10f75b2fed
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, buildGoModule, fetchFromGitHub }:
|
{ stdenv, buildGoModule, fetchFromGitHub, nixosTests }:
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "corerad";
|
pname = "corerad";
|
||||||
@ -19,6 +19,10 @@ buildGoModule rec {
|
|||||||
-X github.com/mdlayher/corerad/internal/build.linkVersion=v${version}
|
-X github.com/mdlayher/corerad/internal/build.linkVersion=v${version}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
passthru.tests = {
|
||||||
|
inherit (nixosTests) corerad;
|
||||||
|
};
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = "https://github.com/mdlayher/corerad";
|
homepage = "https://github.com/mdlayher/corerad";
|
||||||
description = "CoreRAD extensible and observable IPv6 NDP RA daemon";
|
description = "CoreRAD extensible and observable IPv6 NDP RA daemon";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user