From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: [PATCH 4/4] environment: Add '--debug' flag. Date: Thu, 21 Jul 2016 14:22:53 +0200 Message-ID: <8737n3p4de.fsf@gnu.org> References: <20160719164916.6597-1-david@craven.ch> <20160719164916.6597-5-david@craven.ch> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33530) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bQD0I-0004mh-7O for guix-devel@gnu.org; Thu, 21 Jul 2016 08:23:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bQD0E-0000nc-8h for guix-devel@gnu.org; Thu, 21 Jul 2016 08:23:02 -0400 In-Reply-To: <20160719164916.6597-5-david@craven.ch> (David Craven's message of "Tue, 19 Jul 2016 18:49:16 +0200") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: David Craven Cc: guix-devel@gnu.org David Craven skribis: > * guix/scripts/environment.scm: Add '--debug' flag to add common debugging > packages (file, gdb, strace, valgrind) to environment. BTW, this use case is well-addressed via =E2=80=98guix environment --load= =E2=80=99 as in the GDB example at: https://www.gnu.org/software/guix/manual/html_node/Invoking-guix-environm= ent.html Alternately, one can define a =E2=80=98gdb-devel=E2=80=99 package in their GUIX_PACKAGE_PATH and simply do: guix environment gdb-devel Ludo=E2=80=99.