Hello,

"Johannes" <[email protected]> skribis:

> (define %git-mirror-update-gexp
>   #~(begin
>       (use-modules (guix build utils)
>                    (ice-9 match))

You need to wrap the entire gexp like so:

  (with-imported-modules '((guix build utils))
    #~(begin
        (use-modules (guix build utils) …)
        …))

That way, (guix build utils) is imported and then build and then in the
run-time environment of this program.

  
https://guix.gnu.org/manual/devel/en/html_node/G_002dExpressions.html#index-with_002dimported_002dmodules-1

But you already mentioned ‘with-imported-modules’ so maybe I’m
overlooking something?

Thanks,
Ludo’.

Reply via email to