From d5930767748e01e67d3a68dd31c0344d544813d0 Mon Sep 17 00:00:00 2001 From: r17x Date: Fri, 10 Nov 2023 21:20:00 +0700 Subject: [PATCH] feat(go): upgrade to 1.21.x --- go/flake.lock | 30 ++++++++++++++++++++++++------ go/flake.nix | 2 +- 2 files changed, 25 insertions(+), 7 deletions(-) diff --git a/go/flake.lock b/go/flake.lock index 68cbe47..243db1a 100644 --- a/go/flake.lock +++ b/go/flake.lock @@ -2,11 +2,11 @@ "nodes": { "nixpkgs": { "locked": { - "lastModified": 1675698036, - "narHash": "sha256-BgsQkQewdlQi8gapJN4phpxkI/FCE/2sORBaFcYbp/A=", + "lastModified": 1699343069, + "narHash": "sha256-s7BBhyLA6MI6FuJgs4F/SgpntHBzz40/qV0xLPW6A1Q=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "1046c7b92e908a1202c0f1ba3fc21d19e1cf1b62", + "rev": "ec750fd01963ab6b20ee1f0cb488754e8036d89d", "type": "github" }, "original": { @@ -22,13 +22,31 @@ "utils": "utils" } }, + "systems": { + "locked": { + "lastModified": 1681028828, + "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", + "owner": "nix-systems", + "repo": "default", + "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", + "type": "github" + }, + "original": { + "owner": "nix-systems", + "repo": "default", + "type": "github" + } + }, "utils": { + "inputs": { + "systems": "systems" + }, "locked": { - "lastModified": 1667395993, - "narHash": "sha256-nuEHfE/LcWyuSWnS8t12N1wc105Qtau+/OdUAjtQ0rA=", + "lastModified": 1694529238, + "narHash": "sha256-zsNZZGTGnMOf9YpHKJqMSsa0dXbfmxeoJ7xHlrt+xmY=", "owner": "numtide", "repo": "flake-utils", - "rev": "5aed5285a952e0b949eb3ba02c12fa4fcfef535f", + "rev": "ff7b65b44d01cf9ba6a71320833626af21126384", "type": "github" }, "original": { diff --git a/go/flake.nix b/go/flake.nix index e18373f..ec6a7d0 100644 --- a/go/flake.nix +++ b/go/flake.nix @@ -10,7 +10,7 @@ utils.lib.eachDefaultSystem (system: let - goVersion = 19; + goVersion = 21; overlays = [ (final: prev: { go = prev."go_1_${toString goVersion}"; }) ]; pkgs = import nixpkgs { inherit overlays system; };