railwayapp / nixpacks

App source + Nix packages + Docker = Image
https://nixpacks.com
MIT License
2.32k stars 220 forks source link

Add support for go 1.22 #1096

Closed miguelhrocha closed 1 month ago

miguelhrocha commented 2 months ago

Add support for Go 1.22 and make it the default Go version.

To be fair, Go 1.22 already works without this PR, but I thought it would be good to officially support it.

It is my first time writing anything related to NixOS, so I was not super sure where to take the value for the Go 1.22 nixpkgs. I took the Go nixpkgs version from this website.