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
Oh I guess I can just look here to see? https://github.com/railwayapp/nixpacks/blob/main/src/providers/go.rs#L32
2 years ago
did you find a solution?
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
2 years ago
maybe there is something similar for go
2 years ago
https://nixpacks.com/docs/providers/go
check the above
2 years ago
can you try setting the version from go.mod
2 years ago
oh yikes
2 years ago
try using a docker build
2 years ago
or sounds stupid? i dont use Go so i apologize if i made any errors
2 years ago
alright
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
@Brody I've never done that with Railway, do you mind linking any relevant docs you would have me look at to start?
2 years ago
nothing specific to railway at all, just have a Dockerfile in your repo and it will be automatically used
