[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] scripts: Add 'environment' command.
From: |
Ludovic Courtès |
Subject: |
Re: [PATCH] scripts: Add 'environment' command. |
Date: |
Fri, 10 Oct 2014 22:47:15 +0200 |
User-agent: |
Gnus/5.130011 (Ma Gnus v0.11) Emacs/24.3 (gnu/linux) |
David Thompson <address@hidden> skribis:
>> I didn’t mention it before but it would be wonderful if you could come
>> up with a little test case. It’s a bit difficult, esp. since the tests
>> cannot assume that will download & build the world. So basically the
>> test could do, in a tests/guix-environment.sh script:
>>
>> guix environment -e '(@@ (gnu packages bootstrap) %bootstrap-guile)' ...
>>
>> and make sure it at least sees ‘guile’ in $PATH.
>>
>> WDYT? That can come in a later commit if you prefer.
>>
>
> Hmm, it's actually a bit trickier than that because the bootstrap guile
> has no inputs, so the resulting purified environment is completely
> empty.
Ah OK.
> address@hidden @code
> address@hidden address@hidden
> address@hidden -E @var{expr}
> +Create an environment for the package that @var{expr} evaluates to.
[...]
> address@hidden address@hidden
> address@hidden -e @var{command}
> +Execute @var{command} in the new environment.
Typo: swap -e/-E.
The rest is alright, OK to commit!
Thank you!
Ludo’.
- [PATCH] scripts: Add 'environment' command., David Thompson, 2014/10/08
- Re: [PATCH] scripts: Add 'environment' command., Alex Kost, 2014/10/09
- Re: [PATCH] scripts: Add 'environment' command., Eric Bavier, 2014/10/09
- Re: [PATCH] scripts: Add 'environment' command., Ludovic Courtès, 2014/10/09
- Re: [PATCH] scripts: Add 'environment' command., David Thompson, 2014/10/09
- Re: [PATCH] scripts: Add 'environment' command., David Thompson, 2014/10/10
- Re: [PATCH] scripts: Add 'environment' command., Ludovic Courtès, 2014/10/10
- Re: [PATCH] scripts: Add 'environment' command., David Thompson, 2014/10/10
- Re: [PATCH] scripts: Add 'environment' command.,
Ludovic Courtès <=
- Re: [PATCH] scripts: Add 'environment' command., David Thompson, 2014/10/10
- Re: [PATCH] scripts: Add 'environment' command., Ludovic Courtès, 2014/10/11
- Re: [PATCH] scripts: Add 'environment' command., David Thompson, 2014/10/11
- Re: [PATCH] scripts: Add 'environment' command., Ludovic Courtès, 2014/10/11
- Setting environment variables in .bashrc vs .bash_profile, Mark H Weaver, 2014/10/12
- Re: Setting environment variables in .bashrc vs .bash_profile, Ludovic Courtès, 2014/10/12