Skip to content

Commit

Permalink
feat(go): upgrade to 1.21.x
Browse files Browse the repository at this point in the history
  • Loading branch information
r17x committed Dec 14, 2023
1 parent 623f59e commit 6979bb5
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 9 deletions.
30 changes: 24 additions & 6 deletions go/flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions go/flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@

utils.lib.eachDefaultSystem (system:
let
goVersion = 19;
goVersion = 21;
overlays = [ (final: prev: { go = prev."go_1_${toString goVersion}"; }) ];
pkgs = import nixpkgs { inherit overlays system; };

in
{
devShells.default = pkgs.mkShellNoCC {
devShells.default = pkgs.mkShell {
buildInputs = with pkgs; [
# go 1.19 (specified by overlay)
# go 1.21 (specified by overlay)
go

# go lsp
Expand Down

0 comments on commit 6979bb5

Please sign in to comment.