diff --git a/pkgs/development/tools/misc/global/default.nix b/pkgs/development/tools/misc/global/default.nix index e6169c48a445..b1e43597a275 100644 --- a/pkgs/development/tools/misc/global/default.nix +++ b/pkgs/development/tools/misc/global/default.nix @@ -1,4 +1,4 @@ -{ fetchurl, stdenv, libtool, ncurses }: +{ fetchurl, stdenv, libtool, ncurses, ctags, sqlite, pythonPackages }: stdenv.mkDerivation rec { name = "global-6.3.4"; @@ -9,12 +9,15 @@ stdenv.mkDerivation rec { }; buildInputs = [ libtool ncurses ]; + propagatedBuildInputs = [ pythonPackages.pygments ]; configurePhase = '' ./configure --prefix="$out" --disable-static '' + ''--with-posix-sort=$(type -p sort) '' + ''--with-ltdl-include=${libtool}/include --with-ltdl-lib=${libtool}/lib '' - + ''--with-ncurses=${ncurses}''; + + ''--with-ncurses=${ncurses}'' + + ''--with-sqlite3=${sqlite}'' + + ''--with-exuberant-ctags=${ctags}/bin/ctags''; doCheck = true;