From bd9788961b4c1e08e4fa7ceda4377ee77deed02b Mon Sep 17 00:00:00 2001 From: Rodrigo Arias Date: Fri, 26 Jun 2020 10:16:41 +0200 Subject: [PATCH] Use autoreconfHook for TAMPI --- bsc/tampi/default.nix | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/bsc/tampi/default.nix b/bsc/tampi/default.nix index 4f60930..fb241eb 100644 --- a/bsc/tampi/default.nix +++ b/bsc/tampi/default.nix @@ -7,18 +7,15 @@ , gnumake , boost , mpi -, gcc}: +, gcc +, autoreconfHook +}: stdenv.mkDerivation rec { version = "1.0.1"; name = "tampi-${version}"; enableParallelBuilding = true; - buildInputs = [ automake autoconf libtool gnumake boost mpi gcc ]; - #hardeningDisable = [ "format" ]; - preConfigure = '' - autoreconf -fiv - ''; - + buildInputs = [ autoreconfHook automake autoconf libtool gnumake boost mpi gcc ]; dontDisableStatic = true; configureFlags = [ "--disable-mpi-mt-check" ]; src = fetchurl {