Skip to content

Commit

Permalink
Update go to 1.23 (#847)
Browse files Browse the repository at this point in the history
* Bump go version to 1.23 in flake

* Bump and specify go version in packages

* Update go.mod and go.sum

* Bump buildGoModule
  • Loading branch information
kachick authored Oct 16, 2024
1 parent 2eba5f7 commit 17f4da0
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
stylua
typos
typos-lsp # For zed-editor typos extension
go_1_22
go_1_23
goreleaser
trivy
])
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/kachick/dotfiles

go 1.22.6
go 1.23.1

require (
golang.org/x/exp v0.0.0-20230801115018-d63ba01acd4b
Expand Down
2 changes: 1 addition & 1 deletion home-manager/helix.nix
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ in
rust-analyzer

# Looks like required to enable gopls
go_1_22
go_1_23
# https://github.com/helix-editor/helix/blob/24.03/languages.toml#L578
gopls
# https://github.com/helix-editor/helix/blob/24.03/languages.toml#L132-L133
Expand Down
2 changes: 1 addition & 1 deletion pkgs/bump_gomod/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ pkgs.writeShellApplication rec {
text = builtins.readFile ./${name}.bash;
runtimeInputs = with pkgs; [
git
go
go_1_23
gnugrep
findutils # `xargs`
];
Expand Down
2 changes: 1 addition & 1 deletion pkgs/reponame/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{ pkgs, ... }:
pkgs.buildGo122Module rec {
pkgs.buildGo123Module rec {
pname = "reponame";
version = "0.0.1";
default = pname;
Expand Down
2 changes: 1 addition & 1 deletion pkgs/reponame/go.mod
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module github.com/kachick/dotfiles/pkgs/reponame

go 1.22.6
go 1.23.1

require github.com/google/go-cmp v0.6.0

0 comments on commit 17f4da0

Please sign in to comment.