From 55c9afc1407bd4a5f29084733c9669eddbb3d804 Mon Sep 17 00:00:00 2001 From: Linus Heckemann Date: Fri, 16 Nov 2018 16:45:08 +0100 Subject: [PATCH] at: run tests --- pkgs/tools/system/at/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/system/at/default.nix b/pkgs/tools/system/at/default.nix index 1e3bf0c0050c..142d33d359dc 100644 --- a/pkgs/tools/system/at/default.nix +++ b/pkgs/tools/system/at/default.nix @@ -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