mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
GDB: Use the system Readline library.
svn path=/nixpkgs/trunk/; revision=13746
This commit is contained in:
parent
b321f31c45
commit
c18603c3b3
@ -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.
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user