guix-devel
[Top][All Lists]
Advanced

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

Re: 01/01: services: Add ‘/usr/bin/env’ special file.


From: Hartmut Goebel
Subject: Re: 01/01: services: Add ‘/usr/bin/env’ special file.
Date: Sun, 8 Sep 2019 20:31:48 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0

Am 08.09.19 um 13:55 schrieb Konrad Hinsen:
> Hi Ricardo and everyone else,
>
>> Using a custom script with a /usr/bin/env shebang is pretty common.  You
>> don’t need to be a power user for that, and certainly not a *Guix* power
>> user.
>
> I definitely agree with this. In my work environment, it is very
> common for people to distribute shell or Python scripts with a
> /usr/bin/env shebang line,  […]

I also support adding a ‘/usr/bin/env’ service and even make it a default.

In my daily work, I have many scripts which do not care about which
version of sh/bash/python/python3 is used. These scripts are placed in
some (small) project's directory and there is absolutely no need for
"installing" them.

Another use-case is when developing software: E.g. scripts for
maintaining the vcs-contolled files, like updating the copyright year.
These scripts are managed by the version control system, shall run from
the development tree on envery developers machine and may not even get
installed when installing the software as a guix package. 

-- 
Regards
Hartmut Goebel

| Hartmut Goebel          | address@hidden               |
| www.crazy-compilers.com | compilers which you thought are impossible |




reply via email to

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