all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Create a symlink /usr/bin/env by default in GuixSD?
@ 2017-01-21  0:18 Mekeor Melire
  2017-01-21  9:43 ` Jan Nieuwenhuizen
  2017-01-21 15:21 ` Ludovic Courtès
  0 siblings, 2 replies; 3+ messages in thread
From: Mekeor Melire @ 2017-01-21  0:18 UTC (permalink / raw)
  To: Guix-devel

/bin/sh is often used in shebangs. I guess that's why GuixSD by default
creates that symlink which points to /gnu/store/HASH-bash-VERSION/bin/sh
which again is a symlink pointing
to /gnu/store/HASH-bash-VERSION/bin/bash.

/usr/bin/env is also used very often in shebangs. Wouldn't it make
sense to also create that symlink? Maybe
to /run/current-system/profile/bin/env? Maybe optionally, maybe by
default?

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Create a symlink /usr/bin/env by default in GuixSD?
  2017-01-21  0:18 Create a symlink /usr/bin/env by default in GuixSD? Mekeor Melire
@ 2017-01-21  9:43 ` Jan Nieuwenhuizen
  2017-01-21 15:21 ` Ludovic Courtès
  1 sibling, 0 replies; 3+ messages in thread
From: Jan Nieuwenhuizen @ 2017-01-21  9:43 UTC (permalink / raw)
  To: Mekeor Melire; +Cc: Guix-devel

Mekeor Melire writes:

> /usr/bin/env is also used very often in shebangs. Wouldn't it make
> sense to also create that symlink?

Until we have found a solution for this, I suggest we mention
this issue together with some possible solutions in the manual.

> Maybe to /run/current-system/profile/bin/env? Maybe optionally, maybe
> by default?

This is what I do.

Greetings,
Jan

-- 
Jan Nieuwenhuizen <janneke@gnu.org> | GNU LilyPond http://lilypond.org
Freelance IT http://JoyofSource.com | Avatar®  http://AvatarAcademy.nl  

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Create a symlink /usr/bin/env by default in GuixSD?
  2017-01-21  0:18 Create a symlink /usr/bin/env by default in GuixSD? Mekeor Melire
  2017-01-21  9:43 ` Jan Nieuwenhuizen
@ 2017-01-21 15:21 ` Ludovic Courtès
  1 sibling, 0 replies; 3+ messages in thread
From: Ludovic Courtès @ 2017-01-21 15:21 UTC (permalink / raw)
  To: Mekeor Melire; +Cc: Guix-devel

Hi!

Please take a look at the previous discussion on this topic:

  https://lists.gnu.org/archive/html/guix-devel/2015-11/msg00414.html

In short, there’s no consensus, but it’s not much of a problem because
people can add it for themselves:

  mkdir -p /usr/bin
  cd /usr/bin
  ln -s /run/current-system/profile/bin/env

We could add a ‘/usr/bin/env-service’ or something to facilitate it.

I have a preference for keeping the default unchanged, though.

Ludo’.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-01-21 15:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-21  0:18 Create a symlink /usr/bin/env by default in GuixSD? Mekeor Melire
2017-01-21  9:43 ` Jan Nieuwenhuizen
2017-01-21 15:21 ` Ludovic Courtès

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.