Subject: Re: bug#49280: [PATCH v2 0/3] gnu: racket: Update to 8.2. Bootstrap from C.

From: Ludovic Courtès <[email-masked]>
Date: Fri, 30 Jul 2021 23:33:46 +0200

Philip McGrath <[email-masked]> skribis:

> +       (snippet
> +        (with-imported-modules '((guix build utils)
> +                                 (ice-9 match)
> +                                 (ice-9 regex))
> +          #~(begin
> +              (use-modules (guix build utils)
> +                           (ice-9 match)
> +                           (ice-9 regex))

This leads to this warning:

--8<---------------cut here---------------start------------->8---
$ ./pre-inst-env  guix build racket -n
gnu/packages/racket.scm:429:10: warning: importing modules (ice-9 match) (ice-9 regex) from the host
--8<---------------cut here---------------end--------------->8---

In fact, we can omit ‘with-imported-modules’ altogether because (guix
build utils) happens to already be available.

I’ll try with this change.

Ludo’.