From 13b0a6eaf1b6bd2026c9c9b8249db23aa1af50d5 Mon Sep 17 00:00:00 2001 From: Frederik Rietdijk Date: Thu, 6 Feb 2020 22:04:45 +0100 Subject: [PATCH] rsyslog: add nixos tests to passthru.tests ofborg does not build them yet, but at least nixpkgs-update does. https://github.com/ryantm/nixpkgs-update/pull/118 Note this test passes and would not have detected https://github.com/NixOS/nixpkgs/issues/79304 --- pkgs/tools/system/rsyslog/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/tools/system/rsyslog/default.nix b/pkgs/tools/system/rsyslog/default.nix index 83f9eaff977..0dcde2b1e33 100644 --- a/pkgs/tools/system/rsyslog/default.nix +++ b/pkgs/tools/system/rsyslog/default.nix @@ -5,6 +5,7 @@ , liblogging ? null, libnet ? null, hadoop ? null, rdkafka ? null , libmongo-client ? null, czmq ? null, rabbitmq-c ? null, hiredis ? null, mongoc ? null , libmaxminddb ? null +, nixosTests ? null }: with stdenv.lib; @@ -103,6 +104,10 @@ stdenv.mkDerivation rec { (mkFlag true "generate-man-pages") ]; + passthru.tests = { + nixos-rsyslogd = nixosTests.rsyslogd; + }; + meta = { homepage = https://www.rsyslog.com/; description = "Enhanced syslog implementation";