diff options
author | Ludovic Courtès <ludo@gnu.org> | 2015-06-29 22:25:43 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2015-06-29 23:08:36 +0200 |
commit | fe36d84eae08c485f4991f0e2ee0e53d55833f26 (patch) | |
tree | ac632b01cb9f74b091b6424e93890f5bcd8645eb /doc/environment-gdb.scm | |
parent | 257341086549ed8a02ea35d50593696127f1eed5 (diff) |
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.scm | 13 |
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)))) |