From 666754f7aa118a29143c8fbd7956f7047f7953ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Mon, 12 Oct 2009 10:06:41 +0000 Subject: [PATCH] GDB: Reinstate removal of duplicate Info files. svn path=/nixpkgs/trunk/; revision=17750 --- pkgs/development/tools/misc/gdb/default.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkgs/development/tools/misc/gdb/default.nix b/pkgs/development/tools/misc/gdb/default.nix index 2a61b733a11d..a3cb554ec8fe 100644 --- a/pkgs/development/tools/misc/gdb/default.nix +++ b/pkgs/development/tools/misc/gdb/default.nix @@ -8,10 +8,16 @@ stdenv.mkDerivation rec { sha256 = "1k9y271gnnvi0fny8ycydcd79snigwh88rgwi03ad782r2awcl67"; }; + # TODO: Add optional support for Python scripting. buildInputs = [ ncurses readline gmp mpfr texinfo ]; configureFlags = "--with-gmp=${gmp} --with-mpfr=${mpfr} --with-system-readline"; + postInstall = '' + # Remove Info files already provided by Binutils and other packages. + rm -v $out/share/info/{standards,configure,bfd}.info + ''; + meta = { description = "GDB, the GNU Project debugger"; @@ -26,5 +32,6 @@ stdenv.mkDerivation rec { license = "GPLv3+"; platforms = stdenv.lib.platforms.linux ++ stdenv.lib.platforms.cygwin; + maintainers = stdenv.lib.maintainers.ludo; }; }