unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* thesis: guixsd should provide /usr/bin/env
@ 2015-11-16  9:19 Andy Wingo
  2015-11-17  6:48 ` Ricardo Wurmus
  2015-11-19 16:07 ` Ludovic Courtès
  0 siblings, 2 replies; 14+ messages in thread
From: Andy Wingo @ 2015-11-16  9:19 UTC (permalink / raw)
  To: guix-devel

Hi!

I think GuixSD should follow NixOS's lead and provide /usr/bin/env.  The
reason is to support scripts that can run either on GuixSD or on some
other system.  For example instead of:

  #!/bin/bash

we can do

  #!/usr/bin/env bash

So we just need /usr/bin/env in the root and nothing else.

Alternately, I am not sure if this would work but we could make a form
of "guix environment" which populates a profile that is mounted at /usr
in a container.  That would allow many more non-Guix tools to run.

WDYT?

Andy

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

end of thread, other threads:[~2016-03-03 17:00 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-16  9:19 thesis: guixsd should provide /usr/bin/env Andy Wingo
2015-11-17  6:48 ` Ricardo Wurmus
2015-11-19 16:07 ` Ludovic Courtès
2015-11-19 17:35   ` Andy Wingo
2015-11-20 14:00     ` Ludovic Courtès
2015-11-20 15:58       ` Andy Wingo
2016-02-17  7:31         ` 宋文武
2016-02-17  7:52           ` Jookia
2016-02-29  9:41             ` Ludovic Courtès
2016-02-29  9:46           ` Ludovic Courtès
2016-02-29 18:11       ` Christopher Allan Webber
2016-03-01  8:09         ` Andy Wingo
2016-03-01  8:11           ` Jookia
2016-03-03 17:00         ` Ludovic Courtès

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).