From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Marusich Subject: Re: 01/01: services: Add =?utf-8?Q?=E2=80=98=2Fusr=2Fbin=2Fenv?= =?utf-8?Q?=E2=80=99?= special file. Date: Sun, 08 Sep 2019 18:37:12 -0700 Message-ID: <87r24q5jxz.fsf_-_@gmail.com> References: <20190906102509.28951.2772@vcs0.savannah.gnu.org> <20190906102510.002BE21324@vcs0.savannah.gnu.org> <87d0gdbtji.fsf@cbaines.net> <87mufhwhc6.fsf@nckx> <87d0gcgodz.fsf@devup.no> <20190906102509.28951.2772@vcs0.savannah.gnu.org> <20190906102510.002BE21324@vcs0.savannah.gnu.org> <87d0gdbtji.fsf@cbaines.net> <87mufhwhc6.fsf@nckx> <87d0gcgodz.fsf@devup.no> <8736h8uh05.fsf@elephly.net> <8736h8uh05.fsf@elephly.net> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:57829) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i78cN-000248-6B for guix-devel@gnu.org; Sun, 08 Sep 2019 21:37:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i78cK-0002tb-Dh for guix-devel@gnu.org; Sun, 08 Sep 2019 21:37:22 -0400 In-Reply-To: <8736h8uh05.fsf@elephly.net> (Ricardo Wurmus's message of "Sat, 07 Sep 2019 19:56:58 +0200, Mon, 09 Sep 2019 00:07:10 +0200") 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: Ricardo Wurmus Cc: guix-devel@gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi everyone, Ricardo Wurmus writes: > Using a custom script with a /usr/bin/env shebang is pretty common. You > don=E2=80=99t need to be a power user for that, and certainly not a *Guix= * power > user. > > [...] > > Personally, I think it=E2=80=99s a good idea to default to having /usr/bi= n/env > shebangs just work on Guix Systems. > > [...] > > With the same reasoning we could argue against having coreutils on PATH. > This is not an exaggeration: R depended on coreutils to be on PATH at > runtime and we only found out when we ran it in a container without > coreutils. I agree. At first, I thought I could do without /usr/bin/env, but I always end up installing it because scripts that others share with me frequently use it, and it's just too painful to have to patch them all or package up those scripts in Guix package definitions. I encounter scrips like this frequently enough that I've decided I want /usr/bin/env. Ludovic Court=C3=A8s writes: > Like I wrote in and in the > message it refers to, although I was initially mildly reluctant to > having /usr/bin/env by default, I=E2=80=99ve come to think that lack of > /usr/bin/env is a gratuitous annoyance=E2=80=94not to me of course, but to > newcomers as we=E2=80=99ve seen repeatedly, be they seasoned GNU/Linux us= ers or > not. > > With that in mind, adding /usr/bin/env by default is probably a good move. > > Now, we can add a snippet in the manual with the =E2=80=98modify-services= =E2=80=99 trick > to remove /usr/bin/env. :-) > > [...] > > Well anyway, if we take a step back, we=E2=80=99re talking about a really= tiny > issue in the grand scheme of things, and it=E2=80=99s certainly not worth= losing > our hair over it. :-) I feel the same way. Regardless of how we came to discuss it, I'm glad we've discussed the issue in this email thread, and I'm glad to hear that I'm not alone in changing my mind about /usr/bin/env. It's good to have it by default. =2D-=20 Chris --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEy/WXVcvn5+/vGD+x3UCaFdgiRp0FAl11rMgACgkQ3UCaFdgi Rp2lkRAAhsxKgOwFwuS+lkdZf7S9mH9idUgOenpBqKiZwQeswTlPpg6WZ83dRwo3 1z6J7N6vZ3s2UHme/hZTfxYq6eM8FxOuByHCrCHxLPTzo9XbgLW31s1NDTxQaiyd BiBPexB3tZGR8pgITqG7jLdfjw9fevEUYyAsnlDXVa1BtIxBeYmEw9q+0sIZjxp8 RCwdjYZJzBg/9vvQ5UhPA/lUDsWheIoiR7ejVDyaLN3m0EJgqecWSBkgv+N0yeej 9I3iwwma8tTahAYZvMNlTzyA3ro9OKfZ3PqJb7GSOAvcx/ryyNfgx2Uiqj0XJ5XU Tn+P/z+9wW+AVI36R+f67+WRckiwhHXVY/b0+aiKzv7ssiKnjyrlplgyoS+D8LrN 5PEcDqsAem5kANavEaAUPZvCVSFj0MofceZPg60gQY+E1/VEwwG3D2hk+qrZbm1e iYZbO+UGCviBuENbS/1xvxa1r38LoNg5RLlWGcD9vsps13V3b7QhoMPtgw170aWa XRs9HSRlYDL+8YAoC9mgRCzU6X/fug5LNljSNStYlUAoQLfpEL+Sj06ZwM4+dVFl lRqesgJofBx3bZRDiM02YQS1ShHbP5TpihqaXDPsskTxMdiDhPGJd+nHl0ToZT3z gQlgF0/eA33CBA12f0QGCSaS1HG6I91PkVo5BFhamytr6TB18Js= =6069 -----END PGP SIGNATURE----- --=-=-=--