diff options
author | Pierre Bourdon <delroth@gmail.com> | 2020-10-08 12:20:27 +0200 |
---|---|---|
committer | Pierre Bourdon <delroth@gmail.com> | 2020-10-08 12:20:27 +0200 |
commit | eb9bcfe300b3bfcc611f04ee85bbeeffddc8bfa9 (patch) | |
tree | 2f6044dec4cd4e4de2571e3a9664c5d86010822d /pkgs/tools/security/sudo | |
parent | 999fcba7ae8a557a751718672ba70628f27d4e18 (diff) |
sudo: add the nixosTest to passthru.tests
Diffstat (limited to 'pkgs/tools/security/sudo')
-rw-r--r-- | pkgs/tools/security/sudo/default.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/tools/security/sudo/default.nix b/pkgs/tools/security/sudo/default.nix index 3cc9039a8f030..cf43b73eb7dfe 100644 --- a/pkgs/tools/security/sudo/default.nix +++ b/pkgs/tools/security/sudo/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, coreutils, pam, groff, sssd +{ stdenv, fetchurl, coreutils, pam, groff, sssd, nixosTests , sendmailPath ? "/run/wrappers/bin/sendmail" , withInsults ? false , withSssd ? false @@ -61,6 +61,8 @@ stdenv.mkDerivation rec { rm -f $out/share/doc/sudo/ChangeLog ''; + passthru.tests = { inherit (nixosTests) sudo; }; + meta = { description = "A command to run commands as root"; |