summaryrefslogtreecommitdiff
path: root/doc/environment-gdb.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2015-06-29 22:25:43 +0200
committerLudovic Courtès <ludo@gnu.org>2015-06-29 23:08:36 +0200
commitfe36d84eae08c485f4991f0e2ee0e53d55833f26 (patch)
treeac632b01cb9f74b091b6424e93890f5bcd8645eb /doc/environment-gdb.scm
parent257341086549ed8a02ea35d50593696127f1eed5 (diff)
downloadgnu-guix-fe36d84eae08c485f4991f0e2ee0e53d55833f26.tar
gnu-guix-fe36d84eae08c485f4991f0e2ee0e53d55833f26.tar.gz
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'.
Diffstat (limited to 'doc/environment-gdb.scm')
-rw-r--r--doc/environment-gdb.scm13
1 files changed, 13 insertions, 0 deletions
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))))