guix-devel
[Top][All Lists]
Advanced

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

Re: Add /usr/bin/env by default in guixsd?


From: Alex Kost
Subject: Re: Add /usr/bin/env by default in guixsd?
Date: Sun, 05 Feb 2017 22:28:50 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)

Ludovic Courtès (2017-02-05 13:09 +0100) wrote:

> Hi!
>
> Sorry for the delay.  I secretly hope somebody would answer, but this is
> such a hot topic that nobody dared.  ;-)
>
> "Huang, Ying" <address@hidden> skribis:
>
>> It is a common practice to use /usr/bin/env in script shabang to use the
>> interpreter find in PATH.  For example, something as follow,
>>
>> #!/usr/bin/env python
>>
>> Although it is not necessary for scripts packaged in guix, if the
>> scripts are written by a user for his own usage and he don't want to
>> package it, it is good to have /usr/bin/env available.  In this way, the
>> interpreters in ~/.guix-profile/bin will be used.
>>
>> So how about add /usr/bin/env by default in guixsd?
>
> For the record this has been discussed in the past:
>
>   https://lists.gnu.org/archive/html/guix-devel/2015-11/msg00414.html
>
> There was no clear consensus.
>
> Of course there are simple ways to add it, several of which were given
> in the thread.
>
> The subject does come up every once in a while though, so we really need
> to address it one way or another.  :-)
>
> First we need a simple ‘special-files’ service or something (for /bin/sh
> and /usr/bin/env).
>
> Then the whole battle will be about what the default should be.  I used
> to be affiliated with the “no way!” party on this topic, but I
> considering changing my mind.  :-)  Especially that it does not matter
> that much, after all.
>
> Ricardo, anyone, thoughts?

I personally made "/usr/bin/env" (a symlink to
"/run/current-system/profile/bin/env"), so I think it would be good to
have it on GuixSD by default.

-- 
Alex



reply via email to

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