universal-ctags: include libiconv on darwin

This commit is contained in:
Patrick Mahoney 2017-09-29 16:03:39 -05:00
parent 23b13e1762
commit 859a4c30cf

View File

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, perl, pythonPackages }:
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, perl, pythonPackages, libiconv }:
stdenv.mkDerivation rec {
name = "universal-ctags-${version}";
@ -11,8 +11,8 @@ stdenv.mkDerivation rec {
sha256 = "1kbw9ycl2ddzpfs1v4rbqa4gdhw4inrisf4awyaxb7zxfxmbzk1g";
};
nativeBuildInputs = [ pythonPackages.docutils ];
buildInputs = [ autoreconfHook pkgconfig ];
nativeBuildInputs = [ autoreconfHook pkgconfig pythonPackages.docutils ];
buildInputs = stdenv.lib.optional stdenv.isDarwin libiconv;
autoreconfPhase = ''
./autogen.sh --tmpdir