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"
|
, sendmailPath ? "/run/wrappers/bin/sendmail"
|
||||||
, withInsults ? false
|
, withInsults ? false
|
||||||
, withSssd ? false
|
, withSssd ? false
|
||||||
@ -61,6 +61,8 @@ stdenv.mkDerivation rec {
|
|||||||
rm -f $out/share/doc/sudo/ChangeLog
|
rm -f $out/share/doc/sudo/ChangeLog
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
passthru.tests = { inherit (nixosTests) sudo; };
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "A command to run commands as root";
|
description = "A command to run commands as root";
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user