diff options
author | Jörg Thalheim <joerg@thalheim.io> | 2020-05-07 17:06:46 +0100 |
---|---|---|
committer | Jörg Thalheim <joerg@thalheim.io> | 2020-05-07 17:06:46 +0100 |
commit | 53b72ba7acd535ec4755302bcc89f0f605677367 (patch) | |
tree | 0b14eff06fba5fcd7ab62390bb146c3b0d9e6119 /pkgs/servers/consul | |
parent | 465302dad015ed909aad9a78004be55b283e1d1e (diff) |
consul: reference nixosTests
Diffstat (limited to 'pkgs/servers/consul')
-rw-r--r-- | pkgs/servers/consul/default.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/servers/consul/default.nix b/pkgs/servers/consul/default.nix index 6f3ea4262e52b..7293618b83a01 100644 --- a/pkgs/servers/consul/default.nix +++ b/pkgs/servers/consul/default.nix @@ -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"]; |