Merge pull request #117271 from aanderse/logrotate

logrotate: compile with acl support
This commit is contained in:
Aaron Andersen 2021-03-28 11:04:18 -04:00 committed by GitHub
commit 10ec5b789f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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/";