refactor to use autoreconfHook where possible

Close #12446.
This commit is contained in:
Robin Gloster
2016-01-18 10:45:31 +01:00
committed by Vladimír Čunát
parent 620c147cce
commit 53b389327e
50 changed files with 188 additions and 320 deletions
+5 -9
View File
@@ -1,4 +1,4 @@
{ fetchurl, stdenv, sqlite, pkgconfig, autoconf, automake
{ fetchurl, stdenv, sqlite, pkgconfig, autoreconfHook
, xapian, glib, gmime, texinfo , emacs, guile
, gtk3, webkit, libsoup, icu, withMug ? false /* doesn't build with current gtk3 */ }:
@@ -11,14 +11,10 @@ stdenv.mkDerivation rec {
sha256 = "0wj33pma8xgjvn2akk7khzbycwn4c9sshxvzdph9dnpy7gyqxj51";
};
buildInputs =
[ sqlite pkgconfig autoconf automake xapian
glib gmime texinfo emacs guile libsoup icu ]
++ stdenv.lib.optionals withMug [ gtk3 webkit ];
preConfigure = ''
autoreconf -i
'';
buildInputs = [
sqlite pkgconfig xapian glib gmime texinfo emacs guile libsoup icu
autoreconfHook
] ++ stdenv.lib.optionals withMug [ gtk3 webkit ];
preBuild = ''
# Fix mu4e-builddir (set it to $out)