From: Pjotr Prins <pjotr.public12@thebird.nl>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: guix-devel@gnu.org
Subject: Re: Hacks to install Guix packages without root
Date: Fri, 27 Oct 2017 10:27:26 +0200 [thread overview]
Message-ID: <20171027082726.GB8646@thebird.nl> (raw)
In-Reply-To: <87a80dbeln.fsf@gnu.org>
On Thu, Oct 26, 2017 at 05:48:20PM -0700, Ludovic Courtès wrote:
> Hi!
>
> Ricardo Wurmus <rekado@elephly.net> skribis:
>
> > How about an extension of “guix pack” that will rewrite the /gnu/store
> > references to a user-provided directory before bundling things up in a
> > tarball?
>
> I’ve thought about this (we have rewriting machinery in (guix build
> grafts) that we could adjust and use), but then I thought that maybe
> PRoot, unshare, and all the rest are good enough?
PRoot is too slow for most HPC purposes but can be used to build
non-proot binaries, as I do here:
https://gitlab.com/pjotrp/guix-notes/blob/master/GUIX-NO-ROOT.org
But it is a roundabout way and too much for most people to handle.
Also we are not reusing Guix binaries that way.
> The tarballs could include proot-static and another statically-linked
> program that essentially tries to call unshare(2). Would that make
> sense?
proot is a no-go for actual use involving IO.
> > With that we would be one step closer to the user experience of Docker
> > — without having a runtime dependency on Docker.
>
> It’s also fine to use Docker when it’s available, I think.
Docker is a no-go on 90% HPC's out there (that number may go down
slowly). Also Docker is a royal pain to deal with: every time I have
to install it somewhere it gives me some grief. I don't think it is
that useful for distributing software.
I think if we have a proper replacement for Docker - like Conda does -
the need for Docker will actually go away.
+1 for providing relocatable packages as far as I am concerned.
Pj.
next prev parent reply other threads:[~2017-10-27 8:29 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-26 21:46 Hacks to install Guix packages without root Ricardo Wurmus
2017-10-27 0:48 ` Ludovic Courtès
2017-10-27 8:27 ` Pjotr Prins [this message]
2017-10-31 14:19 ` Dave Love
2017-11-03 11:54 ` Pjotr Prins
2017-11-06 15:03 ` Dave Love
2017-11-06 16:13 ` Pjotr Prins
2017-10-27 6:53 ` Konrad Hinsen
2017-10-27 8:17 ` Pjotr Prins
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20171027082726.GB8646@thebird.nl \
--to=pjotr.public12@thebird.nl \
--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 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.