From f059856d3456a06d0d7824fe01e004f2f2f6dc6f Mon Sep 17 00:00:00 2001 From: seth Date: Mon, 20 May 2024 03:32:23 -0400 Subject: [PATCH] ntpd-rs: inherit nixos test --- pkgs/tools/networking/ntpd-rs/default.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkgs/tools/networking/ntpd-rs/default.nix b/pkgs/tools/networking/ntpd-rs/default.nix index 017550a917ec..9fb2a9b3f6a2 100644 --- a/pkgs/tools/networking/ntpd-rs/default.nix +++ b/pkgs/tools/networking/ntpd-rs/default.nix @@ -5,6 +5,7 @@ , installShellFiles , pandoc , Security +, nixosTests }: rustPlatform.buildRustPackage rec { @@ -50,6 +51,12 @@ rustPlatform.buildRustPackage rec { outputs = [ "out" "man" ]; + passthru = { + tests = { + nixos = lib.optionalAttrs stdenv.isLinux nixosTests.ntpd-rs; + }; + }; + meta = with lib; { description = "A full-featured implementation of the Network Time Protocol"; homepage = "https://tweedegolf.nl/en/pendulum";