Re: [PATCH] scripts: environment: Allow lists of packages in expressions.

2015-10-31 Thread Thompson, David
On Sat, Oct 31, 2015 at 6:25 AM, Ludovic Courtès  wrote:
> David Thompson  skribis:
>
>> From c9c282cea04ec5a3ee7bd17e6ad8846600220feb Mon Sep 17 00:00:00 2001
>> From: David Thompson 
>> Date: Fri, 30 Oct 2015 21:02:51 -0400
>> Subject: [PATCH] scripts: environment: Allow lists of packages in 
>> expressions.
>>
>> * guix/scripts/environment.scm (options/resolve-packages): Match against
>>   lists of packages when evaluating expressions.
>> * tests/guix-environment.sh: Add test.
>> * doc/guix.texi ("invoking guix environment"): Add docs.
>
> OK!

Pushed. Thanks!

- Dave



Re: [PATCH] scripts: environment: Allow lists of packages in expressions.

2015-10-31 Thread Ludovic Courtès
David Thompson  skribis:

> Thanks to avoine on freenode for motivating me to finally add this
> feature.  I've wanted it for awhile, but not badly enough to actually
> implement it until now.  This is a cool feature because you can do stuff
> like this now:
>
> guix environment --ad-hoc -e '(@ (gnu) %base-packages)'
>
> Pretty cool!

Yep!

> From c9c282cea04ec5a3ee7bd17e6ad8846600220feb Mon Sep 17 00:00:00 2001
> From: David Thompson 
> Date: Fri, 30 Oct 2015 21:02:51 -0400
> Subject: [PATCH] scripts: environment: Allow lists of packages in expressions.
>
> * guix/scripts/environment.scm (options/resolve-packages): Match against
>   lists of packages when evaluating expressions.
> * tests/guix-environment.sh: Add test.
> * doc/guix.texi ("invoking guix environment"): Add docs.

OK!

Thanks,
Ludo’.