From 3edd6e19a86be356db6c52eab4f65fe5eac54f24 Mon Sep 17 00:00:00 2001 From: dudong2 Date: Fri, 8 Dec 2023 03:07:10 +0900 Subject: [PATCH] test: update nix go ver to 1.21 --- nix/default.nix | 2 +- nix/{go_1_18_overlay.nix => go_1_21_overlay.nix} | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename nix/{go_1_18_overlay.nix => go_1_21_overlay.nix} (88%) diff --git a/nix/default.nix b/nix/default.nix index 277c49c979..617c833219 100644 --- a/nix/default.nix +++ b/nix/default.nix @@ -11,7 +11,7 @@ import sources.nixpkgs { }; }) # update to a version that supports eip-1559 # https://github.com/NixOS/nixpkgs/pull/179622 - (import ./go_1_18_overlay.nix) + (import ./go_1_21_overlay.nix) (final: prev: (import "${sources.gomod2nix}/overlay.nix") (final // { diff --git a/nix/go_1_18_overlay.nix b/nix/go_1_21_overlay.nix similarity index 88% rename from nix/go_1_18_overlay.nix rename to nix/go_1_21_overlay.nix index fdbe9c22d3..e37d4d2961 100644 --- a/nix/go_1_18_overlay.nix +++ b/nix/go_1_21_overlay.nix @@ -1,5 +1,5 @@ final: prev: { - go_1_18 = prev.go_1_18.override ({ + go_1_21 = prev.go_1_21.override ({ inherit (final.darwin.apple_sdk_11_0.frameworks) Security Foundation; xcbuild = prev.xcbuild.override { inherit (final.darwin.apple_sdk_11_0) stdenv;