Merge pull request #7107 from jwiegley/t/global-ctags
Enable two modern features of GNU global
This commit is contained in:
commit
3b83bf60ae
|
@ -1,4 +1,4 @@
|
||||||
{ fetchurl, stdenv, libtool, ncurses }:
|
{ fetchurl, stdenv, libtool, ncurses, ctags, sqlite, pythonPackages }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "global-6.3.4";
|
name = "global-6.3.4";
|
||||||
|
@ -9,12 +9,15 @@ stdenv.mkDerivation rec {
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ libtool ncurses ];
|
buildInputs = [ libtool ncurses ];
|
||||||
|
propagatedBuildInputs = [ pythonPackages.pygments ];
|
||||||
|
|
||||||
configurePhase =
|
configurePhase =
|
||||||
'' ./configure --prefix="$out" --disable-static ''
|
'' ./configure --prefix="$out" --disable-static ''
|
||||||
+ ''--with-posix-sort=$(type -p sort) ''
|
+ ''--with-posix-sort=$(type -p sort) ''
|
||||||
+ ''--with-ltdl-include=${libtool}/include --with-ltdl-lib=${libtool}/lib ''
|
+ ''--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;
|
doCheck = true;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue