at: run tests

This commit is contained in:
Linus Heckemann 2018-11-16 16:45:08 +01:00
parent d59307e54c
commit 55c9afc140

View file

@ -1,4 +1,4 @@
{ stdenv, fetchurl, fetchpatch, bison, flex, pam
{ stdenv, fetchurl, fetchpatch, bison, flex, pam, perl
, sendmailPath ? "/run/wrappers/bin/sendmail"
, atWrapperPath ? "/run/wrappers/bin/at"
}:
@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
})
];
nativeBuildInputs = [ bison flex ];
nativeBuildInputs = [ bison flex perl /* for `prove` (tests) */ ];
buildInputs = [ pam ];
@ -41,7 +41,7 @@ stdenv.mkDerivation rec {
"--with-daemon_groupname=atd"
];
doCheck = false; # need "prove" tool
doCheck = true;
# Ensure that "batch" can invoke the setuid "at" wrapper, if it exists, or
# else we get permission errors (on NixOS). "batch" is a shell script, so