From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christopher Allan Webber Subject: Re: #!/usr/bin/env in containers, or something Date: Wed, 26 Oct 2016 11:30:06 -0500 Message-ID: <8737jj844x.fsf@dustycloud.org> References: <878tth1pio.fsf@dustycloud.org> <87oa27tipm.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40667) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bzR5f-0005wf-5y for guix-devel@gnu.org; Wed, 26 Oct 2016 12:30:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bzR5b-00037l-0f for guix-devel@gnu.org; Wed, 26 Oct 2016 12:30:11 -0400 In-reply-to: <87oa27tipm.fsf@gnu.org> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: guix-devel@gnu.org Ludovic Court=C3=A8s writes: > Christopher Allan Webber skribis: > >> I'm currently looking at building a version of coreboot. Unfortunatel= y, >> 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 exist= s, >> 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 =E2=80=98guix environment --container=E2=80= =99 could have > an option to create /usr/bin/env: > > https://lists.gnu.org/archive/html/guix-devel/2015-11/msg00527.html > > =E2=80=98--expose=E2=80=99 already allows this, so essentially we=E2=80= =99d provide a shorter > option and take =E2=80=98env=E2=80=99 from the current =E2=80=98coreuti= ls=E2=80=99 package=E2=80=94similar to > how /bin/sh links to the current =E2=80=98bash=E2=80=99 already. > > How does that sound? > > Ludo=E2=80=99. 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