From 7d0ceaea77997458eea39bface86045f8b0a0067 Mon Sep 17 00:00:00 2001 From: whispers Date: Wed, 16 Sep 2026 00:32:22 -0400 Subject: [PATCH] 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. --- pkgs/by-name/vc/vcsh/package.nix | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/pkgs/by-name/vc/vcsh/package.nix b/pkgs/by-name/vc/vcsh/package.nix index fc141b1777b4..1dd27462ac0e 100644 --- a/pkgs/by-name/vc/vcsh/package.nix +++ b/pkgs/by-name/vc/vcsh/package.nix @@ -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