me
/
guix
Archived
1
0
Fork 0

doc: cookbook: Add 'use-modules' in gexp example.

* doc/guix-cookbook.texi (A Scheme Crash Course): Add 'use-modules' line
in gexp example.
Ludovic Courtès 2023-08-14 14:57:52 +02:00
parent c3f6dd45d7
commit 3c7d465133
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 3 additions and 0 deletions

View File

@ -280,6 +280,9 @@ they provide code to be executed during the package build process. They
look like this:
@lisp
(use-modules (guix gexp) ;so we can write gexps
(gnu packages base)) ;for 'coreutils'
;; Below is a G-expression representing staged code.
#~(begin
;; Invoke 'ls' from the package defined by the 'coreutils'