[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to install guix without root permission

From: rohit yadav
Subject: Re: How to install guix without root permission
Date: Fri, 6 Jan 2017 07:59:44 -0600

​Thanks for the reply. ​The proot ( project allows you to map $HOME/gnu/store to /gnu/store etc. However, where I am struggling is the guixbuild users and group creation, and running guix daemon.

I am using kernel 4+, which supports namespaces. This reminds if there is any effort to provide a lxc container for guixSD.


On Fri, Jan 6, 2017 at 7:49 AM, Ludovic Courtès <address@hidden> wrote:

rohit yadav <address@hidden> skribis:

> I am using guix for sometime now and I must admit, it is very clean
> compared to nix. However, I want to install it on system where I do not
> have root permission. Is is possible? If so, how?

It is possible, but currently inconvenient and brittle, as noted at the
bottom of:

The problems are:

  1. you’d be producing binaries for, say, /home/rohit/gnu/store instead
     of /gnu/store, so you’d have to build everything by yourself since
     the substitutes from are for use in /gnu/store;

  2. you’d have no build isolation and long file names, which is likely
     to break builds here and there (things will use stuff from /usr/bin
     and /lib, shebangs will be longer than the kernel-imposed limit,

There have been discussions to improve the situation, and work in that
direction will hopefully start this year¹.  The preferred approach will
be the “user namespace” feature of the kernel Linux; does your system
support it, out of curiosity?


¹ See the discussion that starts at

reply via email to

[Prev in Thread] Current Thread [Next in Thread]