From 3c7d465133d56737c4209dcf25370f98da88a30b Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Mon, 14 Aug 2023 14:57:52 +0200 Subject: doc: cookbook: Add 'use-modules' in gexp example. * doc/guix-cookbook.texi (A Scheme Crash Course): Add 'use-modules' line in gexp example. --- doc/guix-cookbook.texi | 3 +++ 1 file changed, 3 insertions(+) (limited to 'doc/guix-cookbook.texi') 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' -- cgit v1.2.3