diff options
author | Ludovic Courtès <ludo@gnu.org> | 2023-08-14 14:57:52 +0200 |
---|---|---|
committer | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2023-09-17 15:07:31 -0400 |
commit | c9e95b5999bc0bc9be520989fa634c4ef2210cdc (patch) | |
tree | 82e05c11d1710f620bb88621e04d2bf4472da8f2 /doc | |
parent | 5543069ea9682662fd9af5b2244a1bd698347d3b (diff) |
doc: cookbook: Add 'use-modules' in gexp example.
* doc/guix-cookbook.texi (A Scheme Crash Course): Add 'use-modules' line
in gexp example.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/guix-cookbook.texi | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/guix-cookbook.texi b/doc/guix-cookbook.texi index e02356c117..28303df37b 100644 --- a/doc/guix-cookbook.texi +++ b/doc/guix-cookbook.texi @@ -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' |