summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2022-01-14 11:17:24 +0100
committerLudovic Courtès <ludo@gnu.org>2022-01-14 22:39:24 +0100
commitb0aab0f255556c8c5027e3ad11bfc7826bb1f609 (patch)
tree93a8c2ed17591db3842a02ff8f65003812ce5cfa /doc
parentaebddd49364cb2afc8ea84362c4902a617fe728b (diff)
doc: Update "guix shell -D -f" example to new input style.
* doc/environment-gdb.scm: Change to use 'modify-inputs'.
Diffstat (limited to 'doc')
-rw-r--r--doc/environment-gdb.scm9
1 files changed, 4 insertions, 5 deletions
diff --git a/doc/environment-gdb.scm b/doc/environment-gdb.scm
index 040a8637f8..0534e594de 100644
--- a/doc/environment-gdb.scm
+++ b/doc/environment-gdb.scm
@@ -6,8 +6,7 @@
;; 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))))
+(package
+ (inherit gdb)
+ (native-inputs (modify-inputs (package-native-inputs gdb)
+ (prepend autoconf-2.64 automake texinfo))))