Is Go 1.22 supported yet?
zaydek
PROOP

2 years ago

I remember getting deployment issues when trying to support Go 1.22 in the past. I assume it's a matter of Nixpacks supporting Go 1.22. Anyone know if this works yet?

30 Replies

zaydek
PROOP

2 years ago

N/A


zaydek
PROOP

2 years ago


angobello
PRO

2 years ago

did you find a solution?


zaydek
PROOP

2 years ago

Nope


zaydek
PROOP

2 years ago

Not really. Thought I guess it's unsupported :/


angobello
PRO

2 years ago

for python i had to set an env variable to set my nixpacks python version from the default 3.9 to 3.11 using env variable NIXPACKSPYTHONVERSION


angobello
PRO

2 years ago

maybe there is something similar for go



zaydek
PROOP

2 years ago

Thanks it looks like it's explicitly not present

1215270553565536300


zaydek
PROOP

2 years ago

But I didn't know about that link so that helps too


angobello
PRO

2 years ago

can you try setting the version from go.mod


zaydek
PROOP

2 years ago

I did


zaydek
PROOP

2 years ago

That's when it freaks out


angobello
PRO

2 years ago

oh yikes


zaydek
PROOP

2 years ago

It was a while go but I had to revert to 1.21.x


zaydek
PROOP

2 years ago

Doesn't look like anything has changed


zaydek
PROOP

2 years ago

In both Nixpacks source or the docs


angobello
PRO

2 years ago

try using a docker build


zaydek
PROOP

2 years ago

Eh


zaydek
PROOP

2 years ago

🙂


angobello
PRO

2 years ago

or sounds stupid? i dont use Go so i apologize if i made any errors


zaydek
PROOP

2 years ago

No you're good


zaydek
PROOP

2 years ago

I am too dumb to use Docker


zaydek
PROOP

2 years ago

And too impatient


angobello
PRO

2 years ago

alright


brody
EMPLOYEE

2 years ago

the impatience should drive you to use a Dockerfile like kron suggested, that way you can use any go version minutes after the image releases without the need to depend on railway to add support for a version that you'd want to use


zaydek
PROOP

2 years ago

@Brody I've never done that with Railway, do you mind linking any relevant docs you would have me look at to start?


brody
EMPLOYEE

2 years ago

nothing specific to railway at all, just have a Dockerfile in your repo and it will be automatically used


zaydek
PROOP

2 years ago

Oh interesting didn't know that


zaydek
PROOP

2 years ago

Much appreciated


Loading...