diff --git a/pkgs/tools/networking/ntpd-rs/default.nix b/pkgs/tools/networking/ntpd-rs/default.nix index 51fe2744439e..37026d9c5cd5 100644 --- a/pkgs/tools/networking/ntpd-rs/default.nix +++ b/pkgs/tools/networking/ntpd-rs/default.nix @@ -2,10 +2,12 @@ , stdenv , rustPlatform , fetchFromGitHub +, ntpd-rs , installShellFiles , pandoc , Security , nixosTests +, testers }: rustPlatform.buildRustPackage rec { @@ -54,6 +56,10 @@ rustPlatform.buildRustPackage rec { passthru = { tests = { nixos = lib.optionalAttrs stdenv.isLinux nixosTests.ntpd-rs; + version = testers.testVersion { + package = ntpd-rs; + inherit version; + }; }; };