From fe36d84eae08c485f4991f0e2ee0e53d55833f26 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Mon, 29 Jun 2015 22:25:43 +0200 Subject: doc: Add 'guix environment' examples. * doc/environment-gdb.scm: New file. * doc.am (EXTRA_DIST): Add it. * doc/guix.texi (Invoking guix environment): Clarify wording of the first example. Add a --ad-hoc example upfront. Add an example for '-e', and one for '-l'. --- doc/environment-gdb.scm | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 doc/environment-gdb.scm (limited to 'doc/environment-gdb.scm') diff --git a/doc/environment-gdb.scm b/doc/environment-gdb.scm new file mode 100644 index 0000000000..040a8637f8 --- /dev/null +++ b/doc/environment-gdb.scm @@ -0,0 +1,13 @@ +(use-modules (guix) + (gnu packages gdb) + (gnu packages autotools) + (gnu packages texinfo)) + +;; Augment the package definition of GDB with the build tools +;; needed when developing GDB (and which are not needed when +;; simply installing it.) +(package (inherit gdb) + (native-inputs `(("autoconf" ,autoconf-2.64) + ("automake" ,automake) + ("texinfo" ,texinfo) + ,@(package-native-inputs gdb)))) -- cgit v1.2.3