unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Christopher Allan Webber <cwebber@dustycloud.org>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: guix-devel@gnu.org
Subject: Re: thesis: guixsd should provide /usr/bin/env
Date: Mon, 29 Feb 2016 10:11:19 -0800	[thread overview]
Message-ID: <87wppnl73s.fsf@dustycloud.org> (raw)
In-Reply-To: <87d1v4ixeh.fsf@gnu.org>

Ludovic Courtès writes:

> Andy Wingo <wingo@igalia.com> skribis:
>
>> On Thu 19 Nov 2015 16:07, ludo@gnu.org (Ludovic Courtès) writes:
>
> [...]
>
>>>> 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.
>>>
>>> Technically ‘guix environment --container’ could create /usr, just like
>>> it creates /bin/sh.  Not sure if it’s a good idea, though.
>>
>> I think it is definitely interesting.  The reason being, you might hack
>> on something or have to deploy something and it's not part of Guix --
>> you don't want to rewrite the shebang lines for files in git that aren't
>> build products.  Being able to make a just-FHS-enough environment inside
>> a container sounds to me like a useful tool to have for shimming Guix
>> and the outside world, while also benefitting from Guix's reproducible
>> environments, rollbacks, isolation, and so on.
>
> Yeah, makes sense.
>
> One can already do:
>
>   guix environment --container --ad-hoc coreutils \
>     --expose=$(which env)=/usr/bin/env
>
> Should we add a --fhs or --/usr/bin/env option to simplify this?
>
> Thanks,
> Ludo’.

Would this possibly screw us up on Hurd, where container support I don't
think exists?

  parent reply	other threads:[~2016-02-29 18:11 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2016-03-01  8:09         ` Andy Wingo
2016-03-01  8:11           ` Jookia
2016-03-03 17:00         ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87wppnl73s.fsf@dustycloud.org \
    --to=cwebber@dustycloud.org \
    --cc=guix-devel@gnu.org \
    --cc=ludo@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).