logrotate: compile with acl support

This commit is contained in:
Aaron Andersen 2021-03-22 15:57:57 -04:00
parent 342c7e724e
commit 32b9f73065

View file

@ -1,5 +1,6 @@
{ lib, stdenv, fetchFromGitHub, gzip, popt, autoreconfHook { lib, stdenv, fetchFromGitHub, gzip, popt, autoreconfHook
, mailutils ? null , mailutils ? null
, aclSupport ? true, acl
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
@ -22,7 +23,7 @@ stdenv.mkDerivation rec {
]; ];
nativeBuildInputs = [ autoreconfHook ]; nativeBuildInputs = [ autoreconfHook ];
buildInputs = [ popt ]; buildInputs = [ popt ] ++ lib.optionals aclSupport [ acl ];
meta = with lib; { meta = with lib; {
homepage = "https://fedorahosted.org/releases/l/o/logrotate/"; homepage = "https://fedorahosted.org/releases/l/o/logrotate/";