John Darrington <[email protected]> skribis:

> On Thu, Jun 12, 2014 at 01:59:02PM +0200, Ludovic Court??s wrote:
>      Hello!
>      
>      
>      Lastly, prefer adding a phase before ???build??? rather than replacing
>      ???build??? just to call it afterwards.
>      
>      So, like this:
>      
>        (alist-cons-before
>         'build 'pre-build
>          (lambda ...
>            ...
>            (with-output-to-file our-catalog
>              (lambda ()
>                ...))
>            #t)
>          %standard-phases)
>
> I'm not sure if this will work.  I need to set an environment variable, and 
> presumably 'build and 'pre-build
> run in separate environments?

No, they run in the same environments, so it essentially has the same
semantics as the original version.

Ludo’.

Reply via email to