From e9dc9a374abbe609ac2d1297e58d9222b8e5eb72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Sun, 5 Sep 2010 15:19:07 +0000 Subject: [PATCH] GDB 7.2. svn path=/nixpkgs/trunk/; revision=23647 --- pkgs/development/tools/misc/gdb/default.nix | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/pkgs/development/tools/misc/gdb/default.nix b/pkgs/development/tools/misc/gdb/default.nix index f44411e77d7b..e14baf79153c 100644 --- a/pkgs/development/tools/misc/gdb/default.nix +++ b/pkgs/development/tools/misc/gdb/default.nix @@ -1,8 +1,8 @@ { fetchurl, stdenv, ncurses, readline, gmp, mpfr, expat, texinfo -, target ? null }: +, dejagnu, target ? null }: let - basename = "gdb-7.1"; + basename = "gdb-7.2"; in stdenv.mkDerivation rec { name = basename + stdenv.lib.optionalString (target != null) @@ -10,11 +10,12 @@ stdenv.mkDerivation rec { src = fetchurl { url = "mirror://gnu/gdb/${basename}.tar.bz2"; - sha256 = "0ljkv3xkpqg4x38mrmzx4b7h1bkpfy41vmi5q8nnakhajzbjfb0l"; + sha256 = "1w0h6hya0bl46xddd57mdzwmffplwglhnh9x9hv46ll4mf44ni5z"; }; # TODO: Add optional support for Python scripting. - buildInputs = [ ncurses readline gmp mpfr expat texinfo ]; + buildInputs = [ ncurses readline gmp mpfr expat texinfo ] + ++ stdenv.lib.optional doCheck dejagnu; configureFlags = '' --with-gmp=${gmp} --with-mpfr=${mpfr} --with-system-readline @@ -27,6 +28,9 @@ stdenv.mkDerivation rec { rm -v $out/share/info/{standards,configure,bfd}.info ''; + # TODO: Investigate & fix the test failures. + doCheck = false; + meta = { description = "GDB, the GNU Project debugger";