sudo: add the nixosTest to passthru.tests
This commit is contained in:
parent
999fcba7ae
commit
eb9bcfe300
@ -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";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user