3
0
Fork 0
forked from mirrors/nixpkgs

consul: reference nixosTests

This commit is contained in:
Jörg Thalheim 2020-05-07 17:06:46 +01:00
parent 465302dad0
commit 53b72ba7ac
No known key found for this signature in database
GPG key ID: 003F2096411B5F92

View file

@ -1,4 +1,4 @@
{ stdenv, buildGoModule, fetchFromGitHub }:
{ stdenv, buildGoModule, fetchFromGitHub, nixosTests }:
buildGoModule rec {
pname = "consul";
@ -20,6 +20,8 @@ buildGoModule rec {
sha256 = "05p893mfdrlf5fy9ywwnqb7blw1ffidgviyyh6a3bp82wk49f8ph";
};
passthru.tests.consul = nixosTests.consul;
# This corresponds to paths with package main - normally unneeded but consul
# has a split module structure in one repo
subPackages = ["." "connect/certgen"];