From 2cbf5b1c4b125451c63baa13638ce7515daa4ce3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Forsman?= Date: Sat, 23 Nov 2024 22:01:46 +0100 Subject: [PATCH] suricata: link nixosTests.suricata to passthru.tests --- pkgs/by-name/su/suricata/package.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/by-name/su/suricata/package.nix b/pkgs/by-name/su/suricata/package.nix index f06ab310d04f..e8a97c494a9e 100644 --- a/pkgs/by-name/su/suricata/package.nix +++ b/pkgs/by-name/su/suricata/package.nix @@ -27,6 +27,7 @@ , zlib , redisSupport ? true, redis, hiredis , rustSupport ? true, rustc, cargo +, nixosTests }: let libmagic = file; hyperscanSupport = stdenv.system == "x86_64-linux" || stdenv.system == "i686-linux"; @@ -153,6 +154,8 @@ stdenv.mkDerivation rec { --replace "/etc/suricata" "$out/etc/suricata" ''; + passthru.tests = { inherit (nixosTests) suricata; }; + meta = with lib; { description = "Free and open source, mature, fast and robust network threat detection engine"; homepage = "https://suricata.io";