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";