about summary refs log tree commit diff
path: root/pkgs/servers/dns
diff options
context:
space:
mode:
authorJohannes Schleifenbaum <johannes@js-webcoding.de>2022-01-18 08:59:57 +0100
committerJohannes Schleifenbaum <johannes@js-webcoding.de>2022-01-19 08:24:02 +0100
commit612ad7776a4d84cc2b1a966afb7cc93dc5d11f92 (patch)
tree1b2c131b251d1742821781480f34095ae9fbde48 /pkgs/servers/dns
parent30ae792cd00a408a7b1784717fd5b9311554473c (diff)
nixos/dnsdist: add test
Diffstat (limited to 'pkgs/servers/dns')
-rw-r--r--pkgs/servers/dns/dnsdist/default.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/servers/dns/dnsdist/default.nix b/pkgs/servers/dns/dnsdist/default.nix
index a104ec4d9b1c1..f78a9d7b92c3a 100644
--- a/pkgs/servers/dns/dnsdist/default.nix
+++ b/pkgs/servers/dns/dnsdist/default.nix
@@ -1,7 +1,7 @@
 { lib, stdenv, fetchurl, pkg-config, systemd
 , boost, libsodium, libedit, re2
 , net-snmp, lua, protobuf, openssl, zlib, h2o
-, nghttp2
+, nghttp2, nixosTests
 }:
 
 stdenv.mkDerivation rec {
@@ -39,6 +39,10 @@ stdenv.mkDerivation rec {
 
   enableParallelBuilding = true;
 
+  passthru.tests = {
+    inherit (nixosTests) dnsdist;
+  };
+
   meta = with lib; {
     description = "DNS Loadbalancer";
     homepage = "https://dnsdist.org";