nixos/traefik: add test
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{ stdenv, buildGoModule, fetchFromGitHub, go-bindata }:
|
||||
{ stdenv, buildGoModule, fetchFromGitHub, go-bindata, nixosTests }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "traefik";
|
||||
@@ -16,6 +16,8 @@ buildGoModule rec {
|
||||
|
||||
nativeBuildInputs = [ go-bindata ];
|
||||
|
||||
passthru.tests = { inherit (nixosTests) traefik; };
|
||||
|
||||
preBuild = ''
|
||||
go generate
|
||||
|
||||
|
||||
Reference in New Issue
Block a user