vcsh: use autoreconfHook instead of pinning automake116x

the prebuilt files require automake 1.16, whereas autoreconfing before
the build allows it to work fine with newer automake.
This commit is contained in:
whispers
2026-09-16 00:32:22 -04:00
parent 5530e24f21
commit 7d0ceaea77

View File

@@ -2,8 +2,7 @@
lib,
stdenv,
fetchurl,
autoconf,
automake116x,
autoreconfHook,
makeWrapper,
pkg-config,
unzip,
@@ -20,9 +19,15 @@ stdenv.mkDerivation (finalAttrs: {
hash = "sha256-M/UME2kNCxwzngKXMYp0cdps7LWVwoS2I/mTrvPts7g=";
};
postPatch = ''
patchShebangs build-aux/git-version-gen
'';
nativeBuildInputs = [
autoconf
automake116x
# The files included in the release tarball require automake 1.16
# specifically. Regenerating files with autoreconf allows using newer
# versions.
autoreconfHook
makeWrapper
pkg-config
unzip