From 53b389327e34de319dc0dbda2b6bcab1a69db69d Mon Sep 17 00:00:00 2001 From: Robin Gloster Date: Sun, 17 Jan 2016 23:04:40 +0000 Subject: refactor to use autoreconfHook where possible Close #12446. --- pkgs/development/libraries/cloog-ppl/default.nix | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'pkgs/development/libraries/cloog-ppl') diff --git a/pkgs/development/libraries/cloog-ppl/default.nix b/pkgs/development/libraries/cloog-ppl/default.nix index 6f730d4821e..2c49e036358 100644 --- a/pkgs/development/libraries/cloog-ppl/default.nix +++ b/pkgs/development/libraries/cloog-ppl/default.nix @@ -1,4 +1,4 @@ -{ fetchurl, stdenv, ppl, autoconf, automake, libtool }: +{ fetchurl, stdenv, ppl, autoreconfHook }: stdenv.mkDerivation rec { name = "cloog-ppl-0.15.11"; @@ -10,19 +10,14 @@ stdenv.mkDerivation rec { propagatedBuildInputs = [ ppl ]; - nativeBuildInputs = [ automake autoconf libtool ]; + nativeBuildInputs = [ autoreconfHook ]; patches = [ ./fix-ppl-version.patch ]; configureFlags = "--with-ppl=${ppl}"; - preConfigure = '' + preAutoreconf = '' touch NEWS ChangeLog AUTHORS - ${libtool}/bin/libtoolize -c --force - ${automake}/bin/aclocal - ${automake}/bin/automake --add-missing - ${automake}/bin/automake -a -c --foreign - ${autoconf}/bin/autoreconf ''; crossAttrs = { -- cgit 1.4.1