Guillem Jover <[email protected]> writes:

> I guess an alternative which should (in theory) work now and in the
> future could be:
>
>   Build-Depends: golang-go (>= 2:1.25~) | golang-1.25-go

Until golang-1.25-go disappears...  However this idea seems like a way
forward.  There is still the concern how to deal with debian/rules:

export PATH := /usr/lib/go-1.25/bin:$(PATH)

That snippet could be made more complex and involve a check to only
pre-pend the PATH if golang-1.24-go is installed.

I'm still hoping there is a more elegant pattern to use for this
situation.  But I think this could work, thank you!

/Simon

Attachment: signature.asc
Description: PGP signature

Reply via email to