mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-21 04:49:01 +02: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 {
|
stdenv.mkDerivation rec {
|
||||||
name = "gdb-6.8";
|
name = "gdb-6.8";
|
||||||
|
@ -8,9 +8,9 @@ stdenv.mkDerivation rec {
|
||||||
sha256 = "067qpnpgmz9jffi208q5c981xsyn8naq3rkp5ypg477lddcgvpzf";
|
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 = ''
|
postInstall = ''
|
||||||
# Remove Info files already provided by Binutils and other packages.
|
# Remove Info files already provided by Binutils and other packages.
|
||||||
|
|
|
@ -2591,7 +2591,7 @@ let
|
||||||
};
|
};
|
||||||
|
|
||||||
gdb = import ../development/tools/misc/gdb {
|
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 {
|
valgrind = import ../development/tools/analysis/valgrind {
|
||||||
|
|
Loading…
Reference in a new issue