From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Enge Subject: Re: Modify system behavior after reconfigure Date: Sat, 17 Mar 2018 12:54:40 +0100 Message-ID: <20180317115440.GA2527@jurong> References: <20180317151855.05d85e3a@gmail.com> <87fu4zxd51.fsf@elephly.net> <20180317160635.3c3949d8@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53480) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1exAQB-00018Q-PL for help-guix@gnu.org; Sat, 17 Mar 2018 07:54:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1exAQ8-0004vg-Mo for help-guix@gnu.org; Sat, 17 Mar 2018 07:54:47 -0400 Received: from hera.aquilenet.fr ([185.233.100.1]:50256) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1exAQ8-0004ug-Fl for help-guix@gnu.org; Sat, 17 Mar 2018 07:54:44 -0400 Content-Disposition: inline In-Reply-To: <20180317160635.3c3949d8@gmail.com> 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: Jone Cc: help-guix On Sat, Mar 17, 2018 at 04:06:35PM +0300, Jone wrote: > Ricardo writes: > > Reconfiguring does not take a lot of time when there have been only > > minor changes. It only takes a couple of seconds. > Well, let's just say, this is not always true. The last time was a full > compilation of Icecat from source (!) "It only takes a couple of > hours" ;) Ricardo is right if you do not make other, *unrelated* changes - of course updating icecat may trigger a rebuild of icecat. So in the case of only changing some configuration items, one would need to make sure to use the exact same copy of guix as for the previous configuration. Either one should not do a "guix pull" in between, or one can keep a git checkout on the same branch or commit and do a "./pre-inst-env guix system reconfigure...". Then updating everything can be done at a separate occasion (over night, for instance, or after icecat has been built on the substitute server). Also, this problem can be circumvented by not having packages in the *system* definition, but only in *user* profiles. This decouples updates of single packages from updates of the system configuration. Andreas