On Feb 7, 2026 at 11:39:40 AM, Simon Josefsson <[email protected]> wrote:
> 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 > > Well, prepending an extra path that doesn’t exist shouldn’t really hurt anything, so you could just leave that there until 1.26 is made the default then remove it later. Stephen
