mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-28 02:40:50 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user