~ruther/guix-local

b0aab0f255556c8c5027e3ad11bfc7826bb1f609 — Ludovic Courtès 4 years ago aebddd4
doc: Update "guix shell -D -f" example to new input style.

* doc/environment-gdb.scm: Change to use 'modify-inputs'.
1 files changed, 4 insertions(+), 5 deletions(-)

M doc/environment-gdb.scm
M doc/environment-gdb.scm => doc/environment-gdb.scm +4 -5
@@ 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))))