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" <[email protected]> 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
