From mboxrd@z Thu Jan 1 00:00:00 1970 From: swedebugia Subject: bug#33647: First `guix pull' behaves unexpectedly Date: Thu, 20 Dec 2018 06:24:11 +0100 Message-ID: <754f62aa-dd54-4b0e-b78e-052160295af2@riseup.net> References: <874lbqu2j3.fsf@GlaDOS.home> <87k1km3bn0.fsf@elephly.net> <871s6ugsrq.fsf@gnu.org> <87sgz9spgw.fsf@GlaDOS.home> <87r2eth3by.fsf@gnu.org> <87y38lu1f6.fsf@GlaDOS.home> <87woo58ggz.fsf@nckx> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56101) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gZqik-0008K1-Ah for bug-guix@gnu.org; Thu, 20 Dec 2018 00:18:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gZqig-0000sX-CG for bug-guix@gnu.org; Thu, 20 Dec 2018 00:18:06 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:51102) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gZqig-0000sT-7a for bug-guix@gnu.org; Thu, 20 Dec 2018 00:18:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gZqif-0001li-W0 for bug-guix@gnu.org; Thu, 20 Dec 2018 00:18:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87woo58ggz.fsf@nckx> Content-Language: en-US List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Tobias Geerinckx-Rice Cc: 33647@debbugs.gnu.org On 2018-12-19 20:27, Tobias Geerinckx-Rice wrote: > swedebugia wrote: >> egil@parabola:~$ time hash pacman >> >> real    0m0,000s >> user    0m0,000s >> sys    0m0,000s >> >> So it won't and any measuable overhead to just call this in the end of >> guix package after updating the symlinks to the new profile >> generation. > > Do you mean to put something like > >  guix() { >    command "$1" "$@" >    hash "$1" >  } > > in the default /etc/profile (or wherever such things belong)? > > I think this is far too intrusive and magical to do by default, > considering its limited one-time-only usefulness.  The same goes for > patching shells. That sounds like it could work even though it look like an ugly hack. :) -- Cheers Swedebugia