Other languages have the ability to specify a specific version of the language to be used in the devenv.nix file.
Example:
languages.python.version = "3.11.3";
works great, love it.
Go does not, and it is frustrating (and not best practice according to support channel in discord) to try and pin specific commit hashes of older versions.
but no examples of what a properly formatted input looks like. seems to be happy with pkgs.go_1_22 and pkgs.go_1_21 (after a lot of trial and error) but no others.
REQUEST
make golang compatible with specific pinned language versions, just like many other languages already supported are.
CONTEXT
Other languages have the ability to specify a specific version of the language to be used in the devenv.nix file.
Example: languages.python.version = "3.11.3"; works great, love it.
Go does not, and it is frustrating (and not best practice according to support channel in discord) to try and pin specific commit hashes of older versions.
Go has the package language option (which is great that its there) here: https://devenv.sh/reference/options/#languagesgopackage
but no examples of what a properly formatted input looks like. seems to be happy with pkgs.go_1_22 and pkgs.go_1_21 (after a lot of trial and error) but no others.
REQUEST
make golang compatible with specific pinned language versions, just like many other languages already supported are.