GDB: Use the system Readline library.

svn path=/nixpkgs/trunk/; revision=13746
This commit is contained in:
Ludovic Courtès 2009-01-12 18:06:32 +00:00
parent b321f31c45
commit c18603c3b3
2 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
{ fetchurl, stdenv, ncurses, gmp, mpfr, texinfo }:
{ fetchurl, stdenv, ncurses, readline, gmp, mpfr, texinfo }:
stdenv.mkDerivation rec {
name = "gdb-6.8";
@ -8,9 +8,9 @@ stdenv.mkDerivation rec {
sha256 = "067qpnpgmz9jffi208q5c981xsyn8naq3rkp5ypg477lddcgvpzf";
};
buildInputs = [ ncurses gmp mpfr texinfo ];
buildInputs = [ ncurses readline gmp mpfr texinfo ];
configureFlags = "--with-gmp=${gmp} --with-mpfr=${mpfr}";
configureFlags = "--with-gmp=${gmp} --with-mpfr=${mpfr} --with-system-readline";
postInstall = ''
# Remove Info files already provided by Binutils and other packages.

View File

@ -2591,7 +2591,7 @@ let
};
gdb = import ../development/tools/misc/gdb {
inherit fetchurl stdenv ncurses gmp mpfr texinfo;
inherit fetchurl stdenv ncurses readline gmp mpfr texinfo;
};
valgrind = import ../development/tools/analysis/valgrind {