@@ -1,5 +1,6 @@
11{ lib, stdenv, fetchFromGitHub, gzip, popt, autoreconfHook
22, mailutils ? null
3+, aclSupport ? true, acl
34}:
45
56stdenv.mkDerivation rec {
@@ -22,7 +23,7 @@ stdenv.mkDerivation rec {
2223 ];
2324
2425 nativeBuildInputs = [ autoreconfHook ];
25− buildInputs = [ popt ];
26+ buildInputs = [ popt ] ++ lib.optionals aclSupport [ acl ];
2627
2728 meta = with lib; {
2829 homepage = "https://fedorahosted.org/releases/l/o/logrotate/";