From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: guix pull Date: Sun, 12 Apr 2015 22:56:48 +0200 Message-ID: <873845rrov.fsf_-_@gnu.org> References: <20150409193851.GA14838@debian> <87iod4kllh.fsf@gnu.org> <87pp79v53h.fsf@gnu.org> <20150412190031.GA4161@debian> 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]:37181) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YhOw4-0005Ej-Mv for guix-devel@gnu.org; Sun, 12 Apr 2015 16:56:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YhOw1-0000kV-FT for guix-devel@gnu.org; Sun, 12 Apr 2015 16:56:56 -0400 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:50306) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YhOw1-0000kI-DM for guix-devel@gnu.org; Sun, 12 Apr 2015 16:56:53 -0400 In-Reply-To: <20150412190031.GA4161@debian> (Andreas Enge's message of "Sun, 12 Apr 2015 21:00:31 +0200") 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: Andreas Enge Cc: guix-devel@gnu.org Andreas Enge skribis: > On Sun, Apr 12, 2015 at 03:38:58PM +0200, Ludovic Court=C3=A8s wrote: >> Anyway, I recommend against using repeated =E2=80=9Cmake install=E2=80= =9D, one reason >> being that there can be leftovers if you don=E2=80=99t run =E2=80=9Cmake= uninstall=E2=80=9D >> beforehand. > > It seems to be the good way of working in my "multi-user" setting. Why > should every user handle his own copy of guix? For instance, the daemon > needs to be installed in a system location to be started by the init syst= em. > Anyway, "make install" needs to work. Of course it has to work, no argument here. :-) However, it is stateful, which makes it easier to get into troubles (for instance because a stale .scm file remains available, so =E2=80=98guix pack= age -A=E2=80=99 would show its contents, or because of obscure timestamp issues= on existing files, particularly if one tries =E2=80=9Cmake install INSTALL=3D'install -C'=E2=80=9D, etc.) >> =E2=80=9Cguix pull=E2=80=9D is meant to be a handy way to deal with upda= tes. > > Does this not interfere badly with git? I am running "make install" from = my > latest stable master git branch, so that every user on the system has a r= ecent > stable guix, with "stable" in the sense of a rolling release, not the lat= est > official relase. Right, the model with =E2=80=9Cguix pull=E2=80=9D is that each user is resp= onsible for updating their local Guix. From the sysadmin=E2=80=99s viewpoint, this is = bad, because each user could have their own thing, and some could still be installing old packages with security issues. From the user=E2=80=99s viewpoint, it=E2=80=99s total freedom. Perhaps =E2=80=9Cguix pull=E2=80=9D could honor sysadmin-handled updates, f= or those cases where users do not want to run =E2=80=9Cguix pull=E2=80=9D by themsel= ves. Say, =E2=80=98guix=E2=80=99 would look for ~/.config/guix/latest first, and then /var/guix/latest. Thoughts? > Then I use "./pre-inst-env" from my private branch in which I am > developing new packages. Sure. Thanks, Ludo=E2=80=99.