diff options
author | Franz Pletz <fpletz@fnordicwalking.de> | 2023-08-10 02:02:33 +0200 |
---|---|---|
committer | Franz Pletz <fpletz@fnordicwalking.de> | 2023-08-10 03:04:04 +0200 |
commit | 50e7a02e671cc4e5af49732b53d5d26f987cb314 (patch) | |
tree | 28720c09ca8771adaffba7191d9c5ac80eecba5c /pkgs/tools/networking/chrony | |
parent | c13c1412bfeacf3df757a82476a57f8c3d2c2ba5 (diff) |
nixos/chrony: add simple test
Diffstat (limited to 'pkgs/tools/networking/chrony')
-rw-r--r-- | pkgs/tools/networking/chrony/default.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/tools/networking/chrony/default.nix b/pkgs/tools/networking/chrony/default.nix index c85c6d9febf4f..c188fbb7ccd8b 100644 --- a/pkgs/tools/networking/chrony/default.nix +++ b/pkgs/tools/networking/chrony/default.nix @@ -1,6 +1,7 @@ { lib, stdenv, fetchurl, pkg-config , gnutls, libedit, nspr, nss, readline, texinfo , libcap, libseccomp, pps-tools +, nixosTests }: stdenv.mkDerivation rec { @@ -36,6 +37,8 @@ stdenv.mkDerivation rec { hardeningEnable = [ "pie" ]; + passthru.tests = { inherit (nixosTests) chrony chrony-ptp; }; + meta = with lib; { description = "Sets your computer's clock from time servers on the Net"; homepage = "https://chrony.tuxfamily.org/"; |