Skip to content

Commit

Permalink
revert back to go 1.22
Browse files Browse the repository at this point in the history
  • Loading branch information
hilmarf committed Aug 22, 2024
1 parent c92a090 commit 8825098
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
inherit (pkgs) stdenv lib ;
in
{
${pname} = pkgs.buildGo123Module rec {
${pname} = pkgs.buildGo122Module rec {
inherit pname self;
version = lib.fileContents ./VERSION;
gitCommit = if (self ? rev) then self.rev else self.dirtyRev;
Expand Down Expand Up @@ -85,7 +85,7 @@
{
default = pkgs.mkShell {
buildInputs = with pkgs; [
go_1_23 # golang 1.23
go_1_22 # golang 1.22
gopls # go language server
gotools # go imports
go-tools # static checks
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 ocm.software/ocm

go 1.23.0
go 1.22.5

replace github.com/spf13/cobra => github.com/open-component-model/cobra v0.0.0-20230329075350-b1fd876abfb9

Expand Down

0 comments on commit 8825098

Please sign in to comment.