diff options
Diffstat (limited to 'pkgs/tools/filesystems/duff/default.nix')
-rw-r--r-- | pkgs/tools/filesystems/duff/default.nix | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/pkgs/tools/filesystems/duff/default.nix b/pkgs/tools/filesystems/duff/default.nix index 894ca2ef28d..d178be0f0fa 100644 --- a/pkgs/tools/filesystems/duff/default.nix +++ b/pkgs/tools/filesystems/duff/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, autoconf, automake, gettext }: +{ stdenv, fetchurl, autoreconfHook, gettext }: stdenv.mkDerivation rec { name = "duff-${version}"; @@ -9,9 +9,9 @@ stdenv.mkDerivation rec { sha256 = "149dd80f9758085ed199c37aa32ad869409fa5e2c8da8a51294bd64ca886e058"; }; - buildInputs = [ autoconf automake gettext ]; + buildInputs = [ autoreconfHook gettext ]; - preConfigure = '' + preAutoreconf = '' # duff is currently badly packaged, requiring us to do extra work here that # should be done upstream. If that is ever fixed, this entire phase can be # removed along with all buildInputs. @@ -23,7 +23,6 @@ stdenv.mkDerivation rec { ./gettextize sed 's@po/Makefile.in\( .*\)po/Makefile.in@po/Makefile.in \1@' \ -i configure.ac - autoreconf -i ''; meta = with stdenv.lib; { |