* doc/environment-gdb.scm: New file. * doc.am (EXTRA_DIST): Add it. * doc/guix.texi (Invoking guix environment): Clarify wording of the first example. Add a --ad-hoc example upfront. Add an example for '-e', and one for '-l'.
		
			
				
	
	
		
			13 lines
		
	
	
	
		
			481 B
		
	
	
	
		
			Scheme
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
	
		
			481 B
		
	
	
	
		
			Scheme
		
	
	
	
	
	
(use-modules (guix)
 | 
						|
             (gnu packages gdb)
 | 
						|
             (gnu packages autotools)
 | 
						|
             (gnu packages texinfo))
 | 
						|
 | 
						|
;; 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))))
 |