doc: Update "guix shell -D -f" example to new input style.

* doc/environment-gdb.scm: Change to use 'modify-inputs'.
This commit is contained in:
Ludovic Courtès 2022-01-14 11:17:24 +01:00
parent aebddd4936
commit b0aab0f255
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5

@ -6,8 +6,7 @@
;; Augment the package definition of GDB with the build tools ;; Augment the package definition of GDB with the build tools
;; needed when developing GDB (and which are not needed when ;; needed when developing GDB (and which are not needed when
;; simply installing it.) ;; simply installing it.)
(package (inherit gdb) (package
(native-inputs `(("autoconf" ,autoconf-2.64) (inherit gdb)
("automake" ,automake) (native-inputs (modify-inputs (package-native-inputs gdb)
("texinfo" ,texinfo) (prepend autoconf-2.64 automake texinfo))))
,@(package-native-inputs gdb))))