From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tobias Geerinckx-Rice Subject: bug#33647: First `guix pull' behaves unexpectedly Date: Wed, 19 Dec 2018 20:27:24 +0100 Message-ID: <87woo58ggz.fsf@nckx> 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> Mime-Version: 1.0 Content-Type: text/plain; format=flowed Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48406) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gZhVn-0001bT-Bw for bug-guix@gnu.org; Wed, 19 Dec 2018 14:28:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gZhVi-00074o-Cz for bug-guix@gnu.org; Wed, 19 Dec 2018 14:28:07 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:50845) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gZhVi-00074W-8k for bug-guix@gnu.org; Wed, 19 Dec 2018 14:28:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gZhVi-00018o-4a for bug-guix@gnu.org; Wed, 19 Dec 2018 14:28:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-reply-to: 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: swedebugia Cc: 33647@debbugs.gnu.org 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. Kind regards, T G-R