From mboxrd@z Thu Jan 1 00:00:00 1970 From: rohit yadav Subject: Re: How to install guix without root permission Date: Fri, 6 Jan 2017 07:59:44 -0600 Message-ID: References: <87tw9cmh75.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a113d4a9a85f87f05456d70c5 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47738) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cPV4I-00034t-Gs for help-guix@gnu.org; Fri, 06 Jan 2017 09:00:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cPV4F-0003Lt-FC for help-guix@gnu.org; Fri, 06 Jan 2017 09:00:30 -0500 Received: from mail-oi0-x232.google.com ([2607:f8b0:4003:c06::232]:35074) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cPV4F-0003LH-9C for help-guix@gnu.org; Fri, 06 Jan 2017 09:00:27 -0500 Received: by mail-oi0-x232.google.com with SMTP id b126so616083821oia.2 for ; Fri, 06 Jan 2017 06:00:26 -0800 (PST) In-Reply-To: <87tw9cmh75.fsf@gnu.org> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: =?UTF-8?Q?Ludovic_Court=C3=A8s?= Cc: help-guix@gnu.org --001a113d4a9a85f87f05456d70c5 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable =E2=80=8BThanks for the reply. =E2=80=8BThe proot (https://proot-me.github.= io/) 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. Thanks, Rohit On Fri, Jan 6, 2017 at 7:49 AM, Ludovic Court=C3=A8s wrote: > Hello! > > rohit yadav 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: > > https://gnu.org/software/guix/manual/html_node/Build- > Environment-Setup.html > > The problems are: > > 1. you=E2=80=99d be producing binaries for, say, /home/rohit/gnu/store = instead > of /gnu/store, so you=E2=80=99d have to build everything by yourself= since > the substitutes from hydra.gnu.org are for use in /gnu/store; > > 2. you=E2=80=99d 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, > etc.) > > There have been discussions to improve the situation, and work in that > direction will hopefully start this year=C2=B9. The preferred approach w= ill > be the =E2=80=9Cuser namespace=E2=80=9D feature of the kernel Linux; does= your system > support it, out of curiosity? > > Thanks, > Ludo=E2=80=99. > > =C2=B9 See the discussion that starts at > . > --001a113d4a9a85f87f05456d70c5 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
=E2=80=8BThanks for th= e reply. =E2=80=8BThe proot (https:= //proot-me.github.io/)=C2=A0project allows you to map $HOME/gnu/store t= o /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.

Thanks,
Rohit=C2=A0

On Fri, Jan 6, 2017 at 7:49 AM, Ludovic Court=C3=A8s <ludo@= gnu.org> wrote:
Hello!

rohit yadav <rohityadav@utexas.= edu> 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 no= t
> have root permission. Is is possible? If so, how?

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

=C2=A0 https://gnu.org/so= ftware/guix/manual/html_node/Build-Environment-Setup.html

The problems are:

=C2=A0 1. you=E2=80=99d be producing binaries for, say, /home/rohit/gnu/sto= re instead
=C2=A0 =C2=A0 =C2=A0of /gnu/store, so you=E2=80=99d have to build everythin= g by yourself since
=C2=A0 =C2=A0 =C2=A0the substitutes from hydra.gnu.org are for use in /gnu/s= tore;

=C2=A0 2. you=E2=80=99d have no build isolation and long file names, which = is likely
=C2=A0 =C2=A0 =C2=A0to break builds here and there (things will use stuff f= rom /usr/bin
=C2=A0 =C2=A0 =C2=A0and /lib, shebangs will be longer than the kernel-impos= ed limit,
=C2=A0 =C2=A0 =C2=A0etc.)

There have been discussions to improve the situation, and work in that
direction will hopefully start this year=C2=B9.=C2=A0 The preferred approac= h will
be the =E2=80=9Cuser namespace=E2=80=9D feature of the kernel Linux; does y= our system
support it, out of curiosity?

Thanks,
Ludo=E2=80=99.

=C2=B9 See the discussion that starts at
=C2=A0 <https://lists.gnu.org/= archive/html/guix-devel/2016-10/msg00947.html>.

--001a113d4a9a85f87f05456d70c5--