Hi Simon,

On Sat, 07 Feb 2026 08:47:45 +0100, Simon Josefsson <[email protected]>
wrote:
> Nebula requires golang 1.25 or later (for some crypto stuff, compilation
> fails with 1.24 [1]), and I solved this by adding 'golang-1.25-go' as a
> Build-Depends and added
> 
> export PATH := /usr/lib/go-1.25/bin:$(PATH)
> 
> to debian/rules.  This works but it is ugly.  It will do the wrong thing
> when 1.26+ becomes the default, keeping this package stuck on 1.25.
> 
> Is there a more future proof pattern to use for this situation?
> 
> I suppose this isn't a new situation, but I didn't run across how to
> solve it before.

How about

Build-Depends: golang-go (>= 2:1.25~)

Regards,

Stephen

Attachment: pgpH5RjXK3pnX.pgp
Description: OpenPGP digital signature

Reply via email to