guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: guix-commits
Subject: 01/04: doc: Update "guix shell -D -f" example to new input style.
Date: Fri, 14 Jan 2022 16:43:22 -0500 (EST)

civodul pushed a commit to branch master
in repository guix.

commit b0aab0f255556c8c5027e3ad11bfc7826bb1f609
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Fri Jan 14 11:17:24 2022 +0100

    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(-)

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))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]