Subject: Re: [bug#77873] [PATCH] gnu: git-repo: Update to 2.54.

From: Maxim Cournoyer <[email-masked]>
Date: Tue, 27 May 2025 09:04:17 +0900

Hi,

Jakob Kirsch <[email-masked]> writes:

>> Did this become unnecessary?
>> 
>> > +      #~(modify-phases %standard-phases
>> > +          (add-before 'build 'set-executable-paths
>> > +            (lambda* (#:key inputs outputs #:allow-other-keys)
>> > +              (begin
>
> Yes as there is now an environment variable named REPO_SKIP_SELF_UPDATE that is set in the 'install phase.

I don't think that's sufficient.  Repo will then update at runtime.  We
should wrap the repo binary with REPO_SKIP_SELF_UPDATE=1.  Guix packages
should not mutate themselves like git-repo does out of the box.

-- 
Thanks,
Maxim