Subject: bug#33647: First `guix pull' behaves unexpectedly

From: swedebugia <[email-masked]>
Date: Thu, 20 Dec 2018 06:24:11 +0100

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