Skip to content

Commit

Permalink
upgrade go 1.20 -> 1.22 (#1509)
Browse files Browse the repository at this point in the history
  • Loading branch information
jpetrucciani authored Mar 23, 2024
1 parent a8d2cc2 commit 656ca19
Show file tree
Hide file tree
Showing 20 changed files with 47 additions and 47 deletions.
12 changes: 6 additions & 6 deletions mods/pkgs/cli.nix
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ in
{ };

cgapp = final.callPackage
({ lib, buildGo120Module, fetchFromGitHub }:
buildGo120Module rec {
({ lib, buildGo122Module, fetchFromGitHub }:
buildGo122Module rec {
pname = "cgapp";
version = "3.6.2";

Expand Down Expand Up @@ -111,8 +111,8 @@ in
{ };

migrate-go = final.callPackage
({ lib, buildGo120Module, fetchFromGitHub }:
buildGo120Module rec {
({ lib, buildGo122Module, fetchFromGitHub }:
buildGo122Module rec {
pname = "migrate";
version = "4.15.2";

Expand Down Expand Up @@ -156,8 +156,8 @@ in
{ };

buffalo = final.callPackage
({ lib, buildGo120Module, fetchFromGitHub }:
buildGo120Module rec {
({ lib, buildGo122Module, fetchFromGitHub }:
buildGo122Module rec {
pname = "buffalo";
version = "0.18.14";

Expand Down
4 changes: 2 additions & 2 deletions mods/pkgs/cloud.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ let
in
{
regula = callPackage
({ lib, buildGo120Module, fetchFromGitHub }:
buildGo120Module rec {
({ lib, buildGo122Module, fetchFromGitHub }:
buildGo122Module rec {
pname = "regula";
version = "2.9.0";
commit = "5193f8781c63e5f79dc8981f7ee9dfa35585dd9e";
Expand Down
12 changes: 6 additions & 6 deletions mods/pkgs/k8s.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ let
in
{
goldilocks = callPackage
({ lib, buildGo120Module, fetchFromGitHub }:
buildGo120Module rec {
({ lib, buildGo122Module, fetchFromGitHub }:
buildGo122Module rec {
pname = "goldilocks";
version = "4.3.3";

Expand All @@ -29,8 +29,8 @@ in
{ };

cyclonus = callPackage
({ lib, buildGo120Module, fetchFromGitHub }:
buildGo120Module rec {
({ lib, buildGo122Module, fetchFromGitHub }:
buildGo122Module rec {
pname = "cyclonus";
version = "0.5.0";

Expand All @@ -54,8 +54,8 @@ in
{ };

rbac-tool = callPackage
({ lib, buildGo120Module, fetchFromGitHub }:
buildGo120Module rec {
({ lib, buildGo122Module, fetchFromGitHub }:
buildGo122Module rec {
pname = "rbac-tool";
version = "1.9.0";

Expand Down
4 changes: 2 additions & 2 deletions mods/pkgs/server.nix
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ rec {
};

bigquery-emulator = prev.callPackage
({ lib, buildGo120Module, fetchFromGitHub, clangStdenv }:
(buildGo120Module.override { stdenv = clangStdenv; }) rec {
({ lib, buildGo122Module, fetchFromGitHub, clangStdenv }:
(buildGo122Module.override { stdenv = clangStdenv; }) rec {
pname = "bigquery-emulator";
version = "0.2.12";
commit = "f21fa982972a8be6444c23459a88df58de7b14b4";
Expand Down
2 changes: 1 addition & 1 deletion mods/pkgs/zaddy.nix
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ rec {
'')
allPlugins;
zaddy = prev.caddy.override {
buildGoModule = args: buildGo120Module (args // {
buildGoModule = args: buildGo122Module (args // {
inherit vendorHash;
overrideModAttrs = _: {
preBuild = ''
Expand Down
4 changes: 2 additions & 2 deletions pkgs/cli/comcast.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{ lib, buildGo120Module, fetchFromGitHub }:
buildGo120Module rec {
{ lib, buildGo122Module, fetchFromGitHub }:
buildGo122Module rec {
pname = "comcast";
version = "1.0.1";

Expand Down
4 changes: 2 additions & 2 deletions pkgs/cli/ov.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{ lib, buildGo120Module, fetchFromGitHub, installShellFiles }:
buildGo120Module rec {
{ lib, buildGo122Module, fetchFromGitHub, installShellFiles }:
buildGo122Module rec {
pname = "ov";
version = "0.32.0";

Expand Down
4 changes: 2 additions & 2 deletions pkgs/cli/rare.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{ lib, buildGo120Module, fetchFromGitHub }:
buildGo120Module rec {
{ lib, buildGo122Module, fetchFromGitHub }:
buildGo122Module rec {
pname = "rare";
version = "0.3.3";

Expand Down
4 changes: 2 additions & 2 deletions pkgs/cli/tlsh-go.nix
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{ lib, buildGo120Module, fetchFromGitHub }:
{ lib, buildGo122Module, fetchFromGitHub }:
let
version = "0.3.0";
date = "2022-12-12";
in
buildGo120Module rec {
buildGo122Module rec {
inherit version;
pname = "tlsh-go";

Expand Down
4 changes: 2 additions & 2 deletions pkgs/cloud/coscli.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{ lib, buildGo120Module, fetchFromGitHub, ... }:
buildGo120Module rec {
{ lib, buildGo122Module, fetchFromGitHub, ... }:
buildGo122Module rec {
pname = "coscli";
version = "0.13.0";

Expand Down
4 changes: 2 additions & 2 deletions pkgs/cloud/gcsproxy.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{ lib, buildGo120Module, fetchFromGitHub, ... }:
buildGo120Module rec {
{ lib, buildGo122Module, fetchFromGitHub, ... }:
buildGo122Module rec {
pname = "gcsproxy";
version = "0.4.1";

Expand Down
4 changes: 2 additions & 2 deletions pkgs/cloud/goaws.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{ lib, buildGo120Module, fetchFromGitHub }:
buildGo120Module rec {
{ lib, buildGo122Module, fetchFromGitHub }:
buildGo122Module rec {
pname = "goaws";
version = "0.4.2";

Expand Down
4 changes: 2 additions & 2 deletions pkgs/cloud/gofakes3.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{ lib, buildGo120Module, fetchFromGitHub }:
buildGo120Module rec {
{ lib, buildGo122Module, fetchFromGitHub }:
buildGo122Module rec {
pname = "gofakes3";
version = "0.0.0";

Expand Down
4 changes: 2 additions & 2 deletions pkgs/cloud/s3-edit.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{ lib, buildGo120Module, fetchFromGitHub }:
buildGo120Module rec {
{ lib, buildGo122Module, fetchFromGitHub }:
buildGo122Module rec {
pname = "s3-edit";
version = "0.0.16";

Expand Down
4 changes: 2 additions & 2 deletions pkgs/cloud/terraform-cloud-exporter.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{ lib, buildGo120Module, fetchFromGitHub }:
buildGo120Module rec {
{ lib, buildGo122Module, fetchFromGitHub }:
buildGo122Module rec {
pname = "terraform-cloud-exporter";
version = "2.3.0";

Expand Down
4 changes: 2 additions & 2 deletions pkgs/k8s/katafygio.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{ lib, buildGo120Module, fetchFromGitHub }:
buildGo120Module rec {
{ lib, buildGo122Module, fetchFromGitHub }:
buildGo122Module rec {
pname = "katafygio";
version = "0.8.3";

Expand Down
4 changes: 2 additions & 2 deletions pkgs/k8s/murre.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{ lib, buildGo120Module, fetchFromGitHub }:
buildGo120Module rec {
{ lib, buildGo122Module, fetchFromGitHub }:
buildGo122Module rec {
pname = "murre";
version = "0.0.4";

Expand Down
4 changes: 2 additions & 2 deletions pkgs/misc/horcrux.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{ lib, buildGo120Module, fetchFromGitHub }:
buildGo120Module rec {
{ lib, buildGo122Module, fetchFromGitHub }:
buildGo122Module rec {
pname = "horcrux";
version = "0.3";

Expand Down
4 changes: 2 additions & 2 deletions pkgs/misc/soulmsg.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{ lib, buildGo120Module, fetchFromGitHub, ... }:
buildGo120Module rec {
{ lib, buildGo122Module, fetchFromGitHub, ... }:
buildGo122Module rec {
pname = "soulmsg";
version = "0.0.1";

Expand Down
4 changes: 2 additions & 2 deletions pkgs/server/poglets.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{ lib, buildGo120Module, fetchFromGitHub, installShellFiles }:
buildGo120Module rec {
{ lib, buildGo122Module, fetchFromGitHub, installShellFiles }:
buildGo122Module rec {
pname = "poglets";
version = "0.0.3";
commit = "0e96c5f5887cd317cd92e6e51eb366929cee3ed1";
Expand Down

0 comments on commit 656ca19

Please sign in to comment.