From b0aab0f255556c8c5027e3ad11bfc7826bb1f609 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Fri, 14 Jan 2022 11:17:24 +0100 Subject: doc: Update "guix shell -D -f" example to new input style. * doc/environment-gdb.scm: Change to use 'modify-inputs'. --- doc/environment-gdb.scm | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'doc') 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)))) -- cgit v1.2.3