guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: #!/usr/bin/env in containers, or something


From: Ludovic Courtès
Subject: Re: #!/usr/bin/env in containers, or something
Date: Wed, 26 Oct 2016 14:09:41 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)

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



reply via email to

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