Re: gexps and ‘with-imported-modules’

2016-07-12 Thread Ludovic Courtès
Hi! l...@gnu.org (Ludovic Courtès) skribis: > The ‘wip-gexp-imported-modules’ branch changes gexps so that each gexp > embeds information about which modules need to be imported into its > execution environment. Merged! This changes the ABI of (guix gexp) and (guix packages) so you need to:

Re: gexps and ‘with-imported-modules’

2016-07-04 Thread Ludovic Courtès
Alex Kost skribis: > Ludovic Courtès (2016-07-04 01:20 +0300) wrote: > >> Hello! >> >> The ‘wip-gexp-imported-modules’ branch changes gexps so that each gexp >> embeds information about which modules need to be imported into its >> execution environment. >> >> Before you would do: >> >> (gexp->

Re: gexps and ‘with-imported-modules’

2016-07-04 Thread Alex Kost
Ludovic Courtès (2016-07-04 01:20 +0300) wrote: > Hello! > > The ‘wip-gexp-imported-modules’ branch changes gexps so that each gexp > embeds information about which modules need to be imported into its > execution environment. > > Before you would do: > > (gexp->derivation "foo" >

gexps and ‘with-imported-modules’

2016-07-03 Thread Ludovic Courtès
Hello! The ‘wip-gexp-imported-modules’ branch changes gexps so that each gexp embeds information about which modules need to be imported into its execution environment. Before you would do: (gexp->derivation "foo" #~(begin (use-modules (guix build ut