about summary refs log tree commit diff
path: root/pkgs/tools/networking/haproxy
diff options
context:
space:
mode:
authorMario Rodas <marsam@users.noreply.github.com>2020-11-14 04:20:00 +0000
committerMario Rodas <marsam@users.noreply.github.com>2020-11-14 04:20:00 +0000
commit7225ae36c3b02056449d0b6d567d02d1ab6dab3f (patch)
tree11471a2324cd32a59dea4fe34e99ba3b040a211b /pkgs/tools/networking/haproxy
parent4fb71e299d94f3813df6f24a448cf9f2fa16b046 (diff)
haproxy: add passthru.tests
Diffstat (limited to 'pkgs/tools/networking/haproxy')
-rw-r--r--pkgs/tools/networking/haproxy/default.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/tools/networking/haproxy/default.nix b/pkgs/tools/networking/haproxy/default.nix
index 41dd747315ba0..80b135e524bf2 100644
--- a/pkgs/tools/networking/haproxy/default.nix
+++ b/pkgs/tools/networking/haproxy/default.nix
@@ -1,7 +1,7 @@
 { useLua ? !stdenv.isDarwin
 , usePcre ? true
 , withPrometheusExporter ? true
-, stdenv, lib, fetchurl
+, stdenv, lib, fetchurl, nixosTests
 , openssl, zlib
 , lua5_3 ? null, pcre ? null, systemd ? null
 }:
@@ -51,6 +51,8 @@ stdenv.mkDerivation rec {
 
   enableParallelBuilding = true;
 
+  passthru.tests.haproxy = nixosTests.haproxy;
+
   meta = with lib; {
     description = "Reliable, high performance TCP/HTTP load balancer";
     longDescription = ''