varnishPackages.dynamic: fix build, use autoreconfHook269

This commit is contained in:
Jonathan Ringer 2021-02-24 16:35:17 -08:00 committed by Jonathan Ringer
parent fe4928cafd
commit 1fc22c2593

View File

@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, varnish, docutils }:
{ lib, stdenv, fetchFromGitHub, autoreconfHook269, pkg-config, varnish, docutils }:
stdenv.mkDerivation rec {
version = "0.4";
@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
sha256 = "1n94slrm6vn3hpymfkla03gw9603jajclg84bjhwb8kxsk3rxpmk";
};
nativeBuildInputs = [ pkg-config docutils autoreconfHook varnish.python ];
nativeBuildInputs = [ pkg-config docutils autoreconfHook269 varnish.python ];
buildInputs = [ varnish ];
postPatch = ''
substituteInPlace Makefile.am --replace "''${LIBVARNISHAPI_DATAROOTDIR}/aclocal" "${varnish.dev}/share/aclocal"