sudo: add the nixosTest to passthru.tests

This commit is contained in:
Pierre Bourdon 2020-10-08 12:20:27 +02:00
parent 999fcba7ae
commit eb9bcfe300
No known key found for this signature in database
GPG Key ID: 6FB80DCD84DA0F1C

View File

@ -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";