[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: #!/usr/bin/env in containers, or something
From: |
Christopher Allan Webber |
Subject: |
Re: #!/usr/bin/env in containers, or something |
Date: |
Wed, 26 Oct 2016 11:30:06 -0500 |
User-agent: |
mu4e 0.9.16; emacs 25.1.1 |
Ludovic Courtès writes:
> Christopher Allan Webber <address@hidden> skribis:
>
>> I'm currently looking at building a version of coreboot. Unfortunately,
>> the mortal enemy of every GuixSD user, #!/usr/bin/env, lurks around
>> every corner.
>>
>> Wingo made an interesting suggestion on IRC today: maybe we could have
>> some "guix environment --container" CLI mapping /usr/bin/env.
>>
>> I know we want "purity" and it's annoying that /usr/bin/env even exists,
>> but there are times where you're trying to do some development on some
>> upstream package, and it's not possible if you can't get /usr/bin/env
>> into your development environment. Sinc we can make containers --pure,
>> I think it would be okay to have /usr/bin/env in this circumstance.
>>
>> What do people think?
>
> There was some consensus that ‘guix environment --container’ could have
> an option to create /usr/bin/env:
>
> https://lists.gnu.org/archive/html/guix-devel/2015-11/msg00527.html
>
> ‘--expose’ already allows this, so essentially we’d provide a shorter
> option and take ‘env’ from the current ‘coreutils’ package—similar to
> how /bin/sh links to the current ‘bash’ already.
>
> How does that sound?
>
> Ludo’.
That sounds really great!
(I am unlikely to have time to do it myself, but maybe I'll turn out to
be wrong :))
Would like to see that happen though!
- Chris