unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Hacks to install Guix packages without root
@ 2017-10-26 21:46 Ricardo Wurmus
  2017-10-27  0:48 ` Ludovic Courtès
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Ricardo Wurmus @ 2017-10-26 21:46 UTC (permalink / raw)
  To: guix-devel; +Cc: Pjotr Prins

Hi,

this blog post contains many great examples of how to deploy Guix
applications without root access:

    http://guix-hpc.bordeaux.inria.fr/blog/2017/10/using-guix-without-being-root/

I think that all of these methods should be wrapped up by Guix itself,
so that none of this has to be done manually.  I’d also like to include
Pjotr’s hack in this, which involves rewriting /gnu/store references.
It’s icky but effective and one of the reasons why Conda is so popular
(they rewrite references in their binaries as well, but less principled
than, say, grafts).

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’d *really* like to be able to just use the tarball bundle
“guix pack” produces by default, but currently deploying it requires
root access or proot shenanigans at runtime.

How about making manual hacking with unshare and chroot obsolete by
including a simple executable in the pack that handles this rewriting
for the user…?  With that we would be one step closer to the user
experience of Docker — without having a runtime dependency on Docker.

What do you think?

--
Ricardo

GPG: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
https://elephly.net

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

end of thread, other threads:[~2017-11-06 16:15 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

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).