Loading nixos/tests/tlsrpt.nix +1 −0 Original line number Diff line number Diff line Loading @@ -31,6 +31,7 @@ machine.wait_for_file("/run/tlsrpt/collectd.sock") machine.wait_until_succeeds("journalctl -o cat -u tlsrpt-collectd | grep -Pq 'Database .* setup finished'") machine.wait_until_succeeds("journalctl -o cat -u tlsrpt-reportd | grep -Pq 'Database .* setup finished'") machine.wait_until_succeeds("journalctl -o cat -u tlsrpt-reportd | grep -Pq 'Fetcher .* finished'") # Enabling postfix should put sendmail as the sendmail setting machine.succeed("grep -q sendmail_script=sendmail /etc/tlsrpt/reportd.cfg") Loading pkgs/by-name/tl/tlsrpt-reporter/package.nix +9 −0 Original line number Diff line number Diff line Loading @@ -5,6 +5,7 @@ installShellFiles, python3, fetchFromGitHub, fetchpatch, nixosTests, }: Loading @@ -25,6 +26,14 @@ python3.pkgs.buildPythonApplication rec { hash = "sha256-IH8hJX9l+YonqOuszcMome4mjdIaedgGNIptxTyH1ng="; }; patches = [ (fetchpatch { # https://github.com/sys4/tlsrpt-reporter/issues/43 url = "https://github.com/sys4/tlsrpt-reporter/commit/32d00c13508dd7f9695b77e253e88c88dc838fbd.patch"; hash = "sha256-RUNF86RkTu6DLv6/7eaY//fFB8kGzmZxQ70kdNpLxj8="; }) ]; nativeBuildInputs = [ asciidoctor automake Loading Loading
nixos/tests/tlsrpt.nix +1 −0 Original line number Diff line number Diff line Loading @@ -31,6 +31,7 @@ machine.wait_for_file("/run/tlsrpt/collectd.sock") machine.wait_until_succeeds("journalctl -o cat -u tlsrpt-collectd | grep -Pq 'Database .* setup finished'") machine.wait_until_succeeds("journalctl -o cat -u tlsrpt-reportd | grep -Pq 'Database .* setup finished'") machine.wait_until_succeeds("journalctl -o cat -u tlsrpt-reportd | grep -Pq 'Fetcher .* finished'") # Enabling postfix should put sendmail as the sendmail setting machine.succeed("grep -q sendmail_script=sendmail /etc/tlsrpt/reportd.cfg") Loading
pkgs/by-name/tl/tlsrpt-reporter/package.nix +9 −0 Original line number Diff line number Diff line Loading @@ -5,6 +5,7 @@ installShellFiles, python3, fetchFromGitHub, fetchpatch, nixosTests, }: Loading @@ -25,6 +26,14 @@ python3.pkgs.buildPythonApplication rec { hash = "sha256-IH8hJX9l+YonqOuszcMome4mjdIaedgGNIptxTyH1ng="; }; patches = [ (fetchpatch { # https://github.com/sys4/tlsrpt-reporter/issues/43 url = "https://github.com/sys4/tlsrpt-reporter/commit/32d00c13508dd7f9695b77e253e88c88dc838fbd.patch"; hash = "sha256-RUNF86RkTu6DLv6/7eaY//fFB8kGzmZxQ70kdNpLxj8="; }) ]; nativeBuildInputs = [ asciidoctor automake Loading