From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pjotr Prins Subject: Re: Using a shared Guix store (was RE: [Bio-packaging] testing out guix) Date: Wed, 15 Jul 2015 22:28:22 +0200 Message-ID: <20150715202822.GB8287@thebird.nl> References: <877fr0i0kl.fsf@mdc-berlin.de> <3784bfce22f4406f8ee2d3affda0474c@exchsrv2.sgc.loc> <87oak4zxo8.fsf@gnu.org> <1436378615368.30302@stowers.org> <87h9pce79t.fsf@gnu.org> <87si8pfmqg.fsf@elephly.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59622) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZFTJ6-0002BA-L9 for guix-devel@gnu.org; Wed, 15 Jul 2015 16:29:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZFTJ3-0006JC-AJ for guix-devel@gnu.org; Wed, 15 Jul 2015 16:29:32 -0400 Content-Disposition: inline In-Reply-To: List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: "Cook, Malcolm" Cc: 'Guix-devel' , "'bio-packaging@mailman.open-bio.org'" , 'Pjotr Prins' Great Malcolm, One thing I was advocating today (compared to, for example, easybuild, modules or homebrew) is that once you create a GNU Guix package it will live on *all* future Linux systems (and perhaps beyond). It being a GNU project I can only imagine it becoming ubiquous. Pj. On Wed, Jul 15, 2015 at 07:49:53PM +0000, Cook, Malcolm wrote: > > Cook, Malcolm writes: > >=20 > > > Also, you discussed need for setting NIX_STATE_DIR. This should no= t > > > be needed if guix was already installed with configuration of > > > --localstatedir=3D/guix/var (with /guix being nfs mounted), right? > >=20 > > NIX_STATE_DIR is used to override localstate at runtime. If you are = happy > > with the localstatedir (defined at configure time) you do not need > > NIX_STATE_DIR. After my vacation I=E2=80=99ll take some time to thin= k about how to > > allow users to run =E2=80=9Cguix=E2=80=9D on cluster nodes to manipul= ate their profiles =E2=80=94 and > > how to reliably set this all up. I=E2=80=99m planning on documenting= this, both in a > > specialised form for my blog and in a more generic fashion for the Gu= ix > > manual. >=20 > Great - thanks for clarifying - I am looking forward to reading about t= his further in both places. =20 >=20 > I will eventually care about the cluster use case, but for now my first= aim is to ensure that users at my institute can expect an identical expe= rience in using guix regardless of which of our multiple shared-used comp= utational servers they are logged into. >=20 > >=20 > > > Ricardo also wrote "For =E2=80=98guix package=E2=80=99 to work, > > > /gnu/var/guix/profiles/per-user must be shared read-write (over NFS= ) > > > with correct UID mapping." - I really don't understand this and tri= ed > > > to elicit feedback in > > > http://lists.nongnu.org/archive/html/guix-devel/2015-07/msg00216.ht= ml > > > - Can anyone give me clarification on this. I though the guix daem= on > > > is going to manage these profiles. > >=20 > > I don=E2=80=99t remember writing this or the context in which I wrote= this (could it be > > that Ludovic wrote this?) =E2=80=94 looking at the code for guix/scri= pts/package.scm > > it seems that the client performs some of the symlink switching when > > switching generations (e.g. after installing a new package). For tha= t to work it > > would need write permission to the user=E2=80=99s profile directory. >=20 > Ricardo I am sorry, you are correct, I was quoting Ludovic in a thread = where you replied https://lists.gnu.org/archive/html/bug-guix/2015-07/msg= 00042.html=20 >=20 > > (I could be completely wrong here. That=E2=80=99s not how it=E2=80=99= s set up here and I > > haven=E2=80=99t yet tested a configuration like this.) >=20 > I hope to chime in further with a big WOOHOO once I have this configura= tion working.... >=20 > Thanks again for your helps... >=20 > ~Malcolm >=20 > >=20 > > ~~ Ricardo >=20 --=20