libtsm: use autoreconfHook

This commit is contained in:
Robin Gloster 2017-08-12 20:26:50 +02:00
parent bfdd9d2e66
commit bd657a7293
No known key found for this signature in database
GPG Key ID: 5E4C836C632C2882
2 changed files with 5 additions and 11 deletions

View File

@ -1,4 +1,4 @@
{ stdenv, lib, fetchurl, libxkbcommon, pkgconfig, autoconf, automake }: { stdenv, lib, fetchurl, libxkbcommon, pkgconfig, autoreconfHook }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "libtsm-3"; name = "libtsm-3";
@ -8,14 +8,10 @@ stdenv.mkDerivation rec {
sha256 = "01ygwrsxfii0pngfikgqsb4fxp8n1bbs47l7hck81h9b9bc1ah8i"; sha256 = "01ygwrsxfii0pngfikgqsb4fxp8n1bbs47l7hck81h9b9bc1ah8i";
}; };
buildInputs = [ libxkbcommon pkgconfig ] ++ lib.optionals stdenv.isDarwin [ buildInputs = [ libxkbcommon pkgconfig ] ++ stdenv.isDarwin [
autoconf automake autoreconfHook
]; ];
preConfigure = lib.optionalString stdenv.isDarwin ''
aclocal
'';
configureFlags = [ "--disable-debug" ]; configureFlags = [ "--disable-debug" ];
patches = lib.optional stdenv.isDarwin ./darwin.patch; patches = lib.optional stdenv.isDarwin ./darwin.patch;

View File

@ -9229,9 +9229,7 @@ with pkgs;
libtap = callPackage ../development/libraries/libtap { }; libtap = callPackage ../development/libraries/libtap { };
libtsm = callPackage ../development/libraries/libtsm { libtsm = callPackage ../development/libraries/libtsm { };
automake = automake114x;
};
libtunepimp = callPackage ../development/libraries/libtunepimp { }; libtunepimp = callPackage ../development/libraries/libtunepimp { };