guix-devel
[Top][All Lists]
Advanced

[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’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]