[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] scripts: environment: Allow lists of packages in expressions
From: |
Ludovic Courtès |
Subject: |
Re: [PATCH] scripts: environment: Allow lists of packages in expressions. |
Date: |
Sat, 31 Oct 2015 11:25:35 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
David Thompson <address@hidden> 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 <address@hidden>
> 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’.