at: run tests
This commit is contained in:
parent
d59307e54c
commit
55c9afc140
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, fetchpatch, bison, flex, pam
|
{ stdenv, fetchurl, fetchpatch, bison, flex, pam, perl
|
||||||
, sendmailPath ? "/run/wrappers/bin/sendmail"
|
, sendmailPath ? "/run/wrappers/bin/sendmail"
|
||||||
, atWrapperPath ? "/run/wrappers/bin/at"
|
, atWrapperPath ? "/run/wrappers/bin/at"
|
||||||
}:
|
}:
|
||||||
@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
|
|||||||
})
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [ bison flex ];
|
nativeBuildInputs = [ bison flex perl /* for `prove` (tests) */ ];
|
||||||
|
|
||||||
buildInputs = [ pam ];
|
buildInputs = [ pam ];
|
||||||
|
|
||||||
@ -41,7 +41,7 @@ stdenv.mkDerivation rec {
|
|||||||
"--with-daemon_groupname=atd"
|
"--with-daemon_groupname=atd"
|
||||||
];
|
];
|
||||||
|
|
||||||
doCheck = false; # need "prove" tool
|
doCheck = true;
|
||||||
|
|
||||||
# Ensure that "batch" can invoke the setuid "at" wrapper, if it exists, or
|
# 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
|
# else we get permission errors (on NixOS). "batch" is a shell script, so
|
||||||
|
Loading…
x
Reference in New Issue
Block a user