Skip to content

Commit 9bf1f0a

Browse files
authored
nix: update go to 1.20 in flake.nix (#66)
1 parent d0a6324 commit 9bf1f0a

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

flake.lock

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flake.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
pkgs = nixpkgs.legacyPackages.${prev.system};
2525
in
2626
rec {
27-
golink = pkgs.buildGo119Module rec {
27+
golink = pkgs.buildGo120Module rec {
2828
pname = "golink";
2929
version = golinkVersion;
3030
src = pkgs.nix-gitignore.gitignoreSource [ ] ./.;
@@ -43,7 +43,7 @@
4343
in
4444
rec {
4545
# `nix develop`
46-
devShell = pkgs.mkShell { buildInputs = [ pkgs.go ]; };
46+
devShell = pkgs.mkShell { buildInputs = [ pkgs.go_1_20 ]; };
4747

4848
# `nix build`
4949
packages = with pkgs; {

0 commit comments

Comments
 (0)