* Guix + User Namespaces wrapper (UGuix)
@ 2021-02-06 14:25 Roman Inflianskas
2021-02-06 15:02 ` Pierre Neidhardt
0 siblings, 1 reply; 3+ messages in thread
From: Roman Inflianskas @ 2021-02-06 14:25 UTC (permalink / raw)
To: help-guix
Hello,
I'm writing a wrapper for Guix + User Namespaces called UGuix. The goal is
to implement a tool that would be easy to use and that would provide users
a possibility to install Guix, and then Guix packages without having a
root. It's inspired by https://github.com/nix-community/nix-user-chroot but
aims to be more user-friendly and high-level.
It already works like this:
```
$ ug bootstrap
... # Downloads the binary distribution of Guix, unpacks it to
`~/.guix/root`, does unshare + chroot to the dir with `/gnu` mounted along
with all `/` contents, auths substitutes, downloads latest packages,
installs `hello`
Hello, world!
$ ug run hello # Runs `hello` installed to `~/.guix/root/gnu`
Hello, world!
$ ug guix install mc
... # Installs mc
```
It works but I want to want to do proper testing before I publish my work.
The question is: is it OK to run the tests which run bootstrap with
downloading packages from substitutes over and over again? Also, I want to
make it so that GitHub Actions will start the tests on new PRs.
--
Regards, Roman Inflianskas
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Guix + User Namespaces wrapper (UGuix)
2021-02-06 14:25 Guix + User Namespaces wrapper (UGuix) Roman Inflianskas
@ 2021-02-06 15:02 ` Pierre Neidhardt
2021-02-24 14:21 ` Ricardo Wurmus
0 siblings, 1 reply; 3+ messages in thread
From: Pierre Neidhardt @ 2021-02-06 15:02 UTC (permalink / raw)
To: Roman Inflianskas, help-guix
[-- Attachment #1: Type: text/plain, Size: 269 bytes --]
Hi Roman,
This looks amazing!
If I recall correctly, some contributors were discussing this feature
some time ago on the mailing list. (Was it with Ludo?)
Maybe this could provide further insights.
Cheers!
--
Pierre Neidhardt
https://ambrevar.xyz/
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 511 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Guix + User Namespaces wrapper (UGuix)
2021-02-06 15:02 ` Pierre Neidhardt
@ 2021-02-24 14:21 ` Ricardo Wurmus
0 siblings, 0 replies; 3+ messages in thread
From: Ricardo Wurmus @ 2021-02-24 14:21 UTC (permalink / raw)
To: Pierre Neidhardt; +Cc: Roman Inflianskas, help-guix
Pierre Neidhardt <mail@ambrevar.xyz> writes:
> If I recall correctly, some contributors were discussing this feature
> some time ago on the mailing list. (Was it with Ludo?)
It should already be possible to use “guix pack guix” (with a few extra
options) to generate a relocatable Guix with a daemon that can run as an
oblivious root inside the execution container.
The only missing bits then are to let the Guix command line tool talk to
the wrapped daemon, but perhaps that also works by setting the daemon
socket environment variable.
--
Ricardo
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-02-24 14:22 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-06 14:25 Guix + User Namespaces wrapper (UGuix) Roman Inflianskas
2021-02-06 15:02 ` Pierre Neidhardt
2021-02-24 14:21 ` Ricardo Wurmus
unofficial mirror of help-guix@gnu.org
This inbox may be cloned and mirrored by anyone:
git clone --mirror https://yhetil.org/guix-user/0 guix-user/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 guix-user guix-user/ https://yhetil.org/guix-user \
help-guix@gnu.org
public-inbox-index guix-user
Example config snippet for mirrors.
Newsgroups are available over NNTP:
nntp://news.yhetil.org/yhetil.gnu.guix.user
nntp://news.gmane.io/gmane.comp.gnu.guix.user
AGPL code for this site: git clone http://ou63pmih66umazou.onion/public-inbox.git