Skip to content

Commit

Permalink
Upgrade to Go 1.23.2
Browse files Browse the repository at this point in the history
Fixes #55
  • Loading branch information
zombiezen committed Oct 9, 2024
1 parent f79390f commit 159c3e5
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 8 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ Other examples:
Prerequisites:

- Knowledge of using the command-line for your OS (e.g. Terminal.app, Command Prompt, etc.)
- [Go](https://go.dev/dl/) 1.23 or later.
- [Go](https://go.dev/dl/) 1.23.2 or later.

### Linux or macOS

Expand Down
20 changes: 14 additions & 6 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,13 @@
flake-utils.url = "flake-utils";
};

outputs = { nixpkgs, flake-utils, ... }:
outputs = { self, nixpkgs, flake-utils, ... }:
flake-utils.lib.eachDefaultSystem (system:
let
pkgs = import nixpkgs { inherit system; };
pkgs = import nixpkgs {
inherit system;
overlays = [ self.overlays.default ];
};
in
{
devShells.default = pkgs.mkShell {
Expand All @@ -23,9 +26,14 @@
};
}
) // {
lib = {};
overlays = {};
nixosModules = {};
nixosConfigurations = {};
overlays.default = final: prev: {
go_1_23 = prev.go_1_23.overrideAttrs {
version = "1.23.2";
src = prev.fetchurl {
url = "https://go.dev/dl/go1.23.2.src.tar.gz";
hash = "sha256-NpMBYqk99BfZC9IsbhTa/0cFuqwrAkGO3aZxzfqc0H8=";
};
};
};
};
}
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module zb.256lights.llc/pkg

go 1.23.1
go 1.23.2

require (
github.com/google/go-cmp v0.5.9
Expand Down

0 comments on commit 159c3e5

Please sign in to comment.