Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

go,goBuildModules: bump default go version to 1.18 #179622

Merged
merged 61 commits into from
Jul 15, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
61 commits
Select commit Hold shift + click to select a range
f533896
go,goBuildModules: bump default go version to 1.18
SuperSandro2000 Jun 29, 2022
00c2382
cod: mark broken
SuperSandro2000 Jun 29, 2022
9218033
cosign: pin to go 1.17
SuperSandro2000 Jun 29, 2022
a6819f0
mole: pin to go 1.17
SuperSandro2000 Jun 29, 2022
2bc1fb7
garble: pin to go 1.17
SuperSandro2000 Jun 29, 2022
131de2b
dendrite: pin to go 1.17
SuperSandro2000 Jun 29, 2022
160ca82
hyprspace: pin to go 1.17
SuperSandro2000 Jun 29, 2022
e79ebaa
gomplate: pin to go 1.17
SuperSandro2000 Jun 29, 2022
6404dda
gophernotes: pin to go 1.17
SuperSandro2000 Jun 29, 2022
1dc954e
livedl: pin to go 1.17
SuperSandro2000 Jun 29, 2022
71bafa9
go-chromecast: pin to go 1.17
SuperSandro2000 Jun 29, 2022
68ab5cf
go-mockery: pin to go 1.17
SuperSandro2000 Jun 29, 2022
274005a
grafana-agent: pin to go 1.17
SuperSandro2000 Jun 29, 2022
c62bf3d
vegeta: pin to go 1.17
SuperSandro2000 Jun 29, 2022
93ae75f
gowitness: pin to go 1.17
SuperSandro2000 Jun 29, 2022
a7ae450
kconf: pint to go 1.17
SuperSandro2000 Jun 29, 2022
dd94522
marathonctl: pin to go 1.17
SuperSandro2000 Jun 29, 2022
41509c5
prometheus-nats-exporter: pin to go 1.17
SuperSandro2000 Jun 29, 2022
f723bca
unconvert: pin to go 1.17
SuperSandro2000 Jun 30, 2022
915092f
toxiproxy: pin to go 1.17
SuperSandro2000 Jun 30, 2022
1895289
photon: fix hash
SuperSandro2000 Jul 4, 2022
49cdf78
proto-contrib: fix hash, remove redundand platforms
SuperSandro2000 Jul 4, 2022
c38f917
sqlc: fix vendor hash, fix meta.platforms
SuperSandro2000 Jul 4, 2022
1ed70b8
pigeon: fix vendor hash
SuperSandro2000 Jul 4, 2022
ad6fd85
vgo2nix: remove myself from maintainers
SuperSandro2000 Jul 4, 2022
4c7e30a
vgo2nix: mark broken
SuperSandro2000 Jul 4, 2022
a2965dc
protoc-gen-twirp_typescript: fix vendor hash
SuperSandro2000 Jul 4, 2022
5a1504b
protolock: fix vendor hash
SuperSandro2000 Jul 5, 2022
16e37e8
endlessh-go: fix vendor hash
SuperSandro2000 Jul 5, 2022
cb4cf51
telegraf: fix vendor hash
SuperSandro2000 Jul 5, 2022
03a48db
zsh-history: fix vendor hash, formatting
SuperSandro2000 Jul 5, 2022
491ce92
opentelemetry-collector: fix vendor hash
SuperSandro2000 Jul 5, 2022
00336e2
go_1_18: Use apple_sdk_11_0.callPackage
toonn Jul 8, 2022
d84ab45
shadowfox: pin to go 1.17, update vendor hash, complete ldflags, shor…
SuperSandro2000 Jul 13, 2022
e54893a
waitron: pin to go 1.17
SuperSandro2000 Jul 13, 2022
4482425
git-hound: pin to go 1.17
SuperSandro2000 Jul 13, 2022
2c9658b
httpdump: pin to go 1.17
SuperSandro2000 Jul 13, 2022
d231799
kfctl: pin to go 1.17
SuperSandro2000 Jul 13, 2022
6551082
opensnitch: pin to go 1.17
SuperSandro2000 Jul 13, 2022
4ac04d0
safe: pin to go 1.17
SuperSandro2000 Jul 13, 2022
433e3fd
ssb: pin to go 1.17
SuperSandro2000 Jul 13, 2022
3276319
wrap: pin to go 1.17
SuperSandro2000 Jul 13, 2022
72f672e
wuzz: pin to go 1.17
SuperSandro2000 Jul 13, 2022
a2ed9eb
zfsbackup: pin to go 1.17
SuperSandro2000 Jul 13, 2022
c15d664
filtron: pin to go 1.17
SuperSandro2000 Jul 13, 2022
1f283b0
sshgit: pin to go 1.17
SuperSandro2000 Jul 13, 2022
081f6e2
gobetween: pin to go 1.17
SuperSandro2000 Jul 13, 2022
c5f8c9b
prometheus-nginxlog-exporter: pin to go 1.17
SuperSandro2000 Jul 13, 2022
7a93c88
pg_featureserv: pin to go 1.17
SuperSandro2000 Jul 13, 2022
507d13c
alertmanager-bot: pin to go 1.17
SuperSandro2000 Jul 13, 2022
6ab206a
pam_ussh: pin to go 1.17
SuperSandro2000 Jul 13, 2022
7fdbf85
exercism: pin to go 1.17
SuperSandro2000 Jul 13, 2022
d3fbab0
kubectl-evict-pod: pin to go 1.17
SuperSandro2000 Jul 13, 2022
e630e8b
kubemqctl: pin to go 1.17
SuperSandro2000 Jul 13, 2022
429b106
kubectl-doctor: pin to go 1.17
SuperSandro2000 Jul 13, 2022
4982ae7
magnetico: pin to go 1.17
SuperSandro2000 Jul 13, 2022
3ea6502
deepsea: pin to go 1.17
SuperSandro2000 Jul 13, 2022
3bed988
zrepl: pin to go 1.17
SuperSandro2000 Jul 13, 2022
e371e8b
kcli: pin to go 1.17
SuperSandro2000 Jul 13, 2022
4ddd633
ncdns: mark broken
SuperSandro2000 Jul 13, 2022
bd2d654
treewide: add a comment explaining to buildGo117Module override
SuperSandro2000 Jul 15, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ buildGoModule rec {

proxyVendor = true;

vendorSha256 = "sha256-1vlgnY4kZJfoAtbv+r8onxL03Ak32zKLJgtrBYZX09g=";
vendorSha256 = "sha256-n9XNqXIoqn+f0xKCenJWXUYXtQhtbNBar68onWH/WV4=";

meta = with lib; {
description = "RSS/Atom reader with the focus on speed, usability and a bit of unix philosophy";
Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/libraries/protolock/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ buildGoModule rec {
sha256 = "sha256-vWwRZVArmlTIGwD4zV3dEHN2kkoeCZuNIvjCBVAviPo=";
};

vendorSha256 = "sha256-kgSJUSjY8kgrGCNDPgw1WA8KwAqI5koJQ0IcE+tC5nk=";
vendorSha256 = "sha256-pYtP+Tkh2TcGsbk7zQNaoYLEQrqGOL0gkMG5dUkfpt4=";

postInstall = ''
rm $out/bin/plugin*
Expand Down
9 changes: 3 additions & 6 deletions pkgs/development/tools/database/sqlc/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,14 @@ buildGoModule {
};

proxyVendor = true;
vendorSha256 = "sha256-zZ0IrtfQvczoB7th9ZCUlYOtyZr3Y3yF0pKzRCqmCjo=";
vendorSha256 = "sha256-miyNIF6RNOuvNEA9Hf+hOyRJG+5IcXU4Vo4Fzn+nIb4=";

subPackages = [ "cmd/sqlc" ];

meta = let
inherit (lib) licenses platforms maintainers;
in {
description = " Generate type-safe code from SQL";
meta = with lib; {
description = "Generate type-safe code from SQL";
homepage = "https://sqlc.dev/";
license = licenses.mit;
platforms = platforms.all;
maintainers = [ maintainers.adisbladis ];
};
}
2 changes: 1 addition & 1 deletion pkgs/development/tools/pigeon/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ buildGoModule rec {
sha256 = "sha256-0Cp/OnFvVZj9UZgl3F5MCzemBaHI4smGWU46VQnhLOg=";
};

vendorSha256 = "sha256-07zoQL4mLPSERBkZ3sz35Av7zdZsjTyGR8zbA86EEjU=";
vendorSha256 = "sha256-JbBXRkxnB7LeeWdBLIQvyjvWo0zZ1EOuEUPXxHWiq+E=";

proxyVendor = true;

Expand Down
3 changes: 1 addition & 2 deletions pkgs/development/tools/proto-contrib/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ buildGoModule rec {
sha256 = "0ksxic7cypv9gg8q5lkl5bla1n9i65z7b03cx9lwq6252glmf2jk";
};

vendorSha256 = "093blawprs2yf478zp9p1zc7mmimgpiwrw6nh8nqml89y5b5zldc";
vendorSha256 = "sha256-XAFB+DDWN7CLfNxIBqYJy88gUNrUJYExzy2/BFnBe8c=";

doCheck = false;

Expand All @@ -20,6 +20,5 @@ buildGoModule rec {
homepage = "https://github.com/emicklei/proto-contrib";
license = licenses.mit;
maintainers = with maintainers; [ kalbasit ];
platforms = platforms.linux ++ platforms.darwin;
};
}
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ buildGoModule {
sha256 = "sha256-LfF/n96LwRX8aoPHzCRI/QbDmZR9yMhE5yGhFAqa8nA=";
};

vendorSha256 = "sha256-xZlP4rg1FMx6ddkKYlSdF6NrtY8xBZ3aEZSATgSf13M=";
vendorSha256 = "sha256-WISWuq1neVX4xQkoamc6FznZahOQHwgkYmERJF40OFQ=";

subPackages = [ "." ];

Expand Down
5 changes: 4 additions & 1 deletion pkgs/development/tools/vgo2nix/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,10 @@ buildGoModule {
description = "Convert go.mod files to nixpkgs buildGoPackage compatible deps.nix files";
homepage = "https://github.com/nix-community/vgo2nix";
license = licenses.mit;
maintainers = with maintainers; [ adisbladis SuperSandro2000 ];
maintainers = with maintainers; [ adisbladis ];
mainProgram = "vgo2nix";
# vendoring fails with cryptic error:
# reading file:///nix/store/..../github.com/orivej/e/@v/v0.0.0-20180728214217-ac3492690fda.zip: no such file or directory
broken = true;
};
}
7 changes: 4 additions & 3 deletions pkgs/servers/dns/ncdns/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -100,13 +100,14 @@ buildGoModule {
cp -r _tpl "$out/share/tpl"
'';

passthru.tests.ncdns = nixosTests.ncdns;

meta = with lib; {
description = "Namecoin to DNS bridge daemon";
homepage = "https://github.com/namecoin/ncdns";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ rnhmjoj ];
# module github.com/btcsuite/btcd@latest found (v0.23.1), but does not contain package github.com/btcsuite/btcd/btcec
broken = true;
};

passthru.tests.ncdns = nixosTests.ncdns;

}
2 changes: 1 addition & 1 deletion pkgs/servers/endlessh-go/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ buildGoModule rec {
hash = "sha256-U+h/WmTVwwUIBEOiNa/EKS6HvkeoGNmP3NpeP1fcqYw=";
};

vendorSha256 = "sha256-h/DpbXO+LUsB9NOAXUfNx3VOfEsiolfBEMBrAqVlU3A=";
vendorSha256 = "sha256-5a/V2OQGVRIJVl/YG+lvtbLeHCy/1eiZu69zKIFqRKM=";

proxyVendor = true;

Expand Down
4 changes: 2 additions & 2 deletions pkgs/servers/mattermost/default.nix
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{ lib
, buildGo118Module
, buildGoModule
, fetchFromGitHub
, fetchurl
, nixosTests
}:

buildGo118Module rec {
buildGoModule rec {
pname = "mattermost";
version = "7.1.0";

Expand Down
2 changes: 1 addition & 1 deletion pkgs/servers/monitoring/telegraf/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ buildGoModule rec {
sha256 = "sha256-Cftxm+Lb3ekK8YZrklD/C+p0EpyEVU/xxVI5oiNgBxk=";
};

vendorSha256 = "sha256-E1p9hnxNFse7Zg8FGcZrbVqThrGTVSP04nH/ZP8WBlk=";
vendorSha256 = "sha256-VyNPIYRMAC51zp38BKoM5/bLbfwULtFEtRC3LQjVJK4=";
proxyVendor = true;

ldflags = [
Expand Down
13 changes: 6 additions & 7 deletions pkgs/shells/zsh/zsh-history/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ buildGoModule rec {
sha256 = "13n643ik1zjvpk8h9458yd9ffahhbdnigmbrbmpn7b7g23wqqsi3";
};

nativeBuildInputs = [ installShellFiles ];
vendorSha256 = "sha256-n5QFN1B2GjbzylFuW9Y4r0+ioIJlfKwcGK8X3ZwKLI8=";

vendorSha256 = "1863ad97y82fx0an1ysalkxnqjz3zfz228wag9a92wdssl1vwzws";
nativeBuildInputs = [ installShellFiles ];

doCheck = false;

Expand All @@ -23,16 +23,15 @@ buildGoModule rec {
installShellCompletion --zsh --name _history $out/share/zsh/completions/_history
'';

passthru.tests = {
zsh-history-shell-integration = nixosTests.zsh-history;
};

meta = with lib; {
description = "A CLI to provide enhanced history for your ZSH shell";
homepage = "https://github.com/b4b4r07/history";
license = licenses.mit;
maintainers = with maintainers; [ ];
mainProgram = "history";
platforms = platforms.unix;
};

passthru.tests = {
zsh-history-shell-integration = nixosTests.zsh-history;
};
}
4 changes: 2 additions & 2 deletions pkgs/tools/admin/lxd/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, hwdata, pkg-config, lxc, buildGo118Package, fetchurl
{ lib, hwdata, pkg-config, lxc, buildGoPackage, fetchurl
, makeWrapper, acl, rsync, gnutar, xz, btrfs-progs, gzip, dnsmasq, attr
, squashfsTools, iproute2, iptables, libcap
, dqlite, raft-canonical, sqlite-replication, udev
Expand All @@ -9,7 +9,7 @@
, nixosTests
}:

buildGo118Package rec {
buildGoPackage rec {
pname = "lxd";
version = "5.3";

Expand Down
2 changes: 1 addition & 1 deletion pkgs/tools/misc/cod/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ buildGoModule rec {
'';

meta = with lib; {
broken = stdenv.isDarwin;
description = "Tool for generating Bash/Fish/Zsh autocompletions based on `--help` output";
homepage = "https://github.com/dim-an/cod/";
license = licenses.asl20;
maintainers = with maintainers; [ SuperSandro2000 ];
broken = true;
};
}
4 changes: 2 additions & 2 deletions pkgs/tools/misc/mutagen-compose/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{ stdenv, lib, buildGo118Module, fetchFromGitHub, fetchzip }:
{ stdenv, lib, buildGoModule, fetchFromGitHub, fetchzip }:

buildGo118Module rec {
buildGoModule rec {
pname = "mutagen-compose";
version = "0.14.0";

Expand Down
4 changes: 2 additions & 2 deletions pkgs/tools/misc/mutagen/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{ stdenv, lib, buildGo118Module, fetchFromGitHub, fetchzip }:
{ stdenv, lib, buildGoModule, fetchFromGitHub, fetchzip }:

buildGo118Module rec {
buildGoModule rec {
pname = "mutagen";
version = "0.14.0";

Expand Down
2 changes: 1 addition & 1 deletion pkgs/tools/misc/opentelemetry-collector/contrib.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ buildGoModule rec {
};
# proxy vendor to avoid hash missmatches between linux and macOS
proxyVendor = true;
vendorSha256 = "sha256-CzFcSvJCMfS83Semk92XUd9iSX6OjOrDzRUNNLVtpi4=";
vendorSha256 = "sha256-G3sIWkYKYnqDmmwspQNw+8yU/SWBBr8KX7Osae9mXe4=";

subPackages = [ "cmd/otelcontribcol" ];

Expand Down
4 changes: 2 additions & 2 deletions pkgs/tools/misc/steampipe/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{ stdenv, lib, buildGo118Module, fetchFromGitHub, installShellFiles }:
{ stdenv, lib, buildGoModule, fetchFromGitHub, installShellFiles }:

buildGo118Module rec {
buildGoModule rec {
pname = "steampipe";
version = "0.15.0";

Expand Down
4 changes: 2 additions & 2 deletions pkgs/tools/misc/upterm/default.nix
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{ lib
, buildGo118Module
, buildGoModule
, fetchFromGitHub
, installShellFiles
, nixosTests
}:

buildGo118Module rec {
buildGoModule rec {
pname = "upterm";
version = "0.8.2";

Expand Down
9 changes: 4 additions & 5 deletions pkgs/tools/networking/shadowfox/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,18 @@ buildGoModule rec {
sha256 = "125mw70jidbp436arhv77201jdp6mpgqa2dzmrpmk55f9bf29sg6";
};

vendorSha256 = "17m0ssfw9n3g2lkv63qajz3adrk5yp0c9hx66x7dl79snwqd49yg";
vendorSha256 = "sha256-llseW3k8ygTXwkSpnRfQEnX3OVj2zdL8JDpIoRcC9kE=";

doCheck = false;

ldflags = [
"-s"
"-w"
"-X main.tag=v${version}"
];

meta = with lib; {
description = ''
This project aims at creating a universal dark theme for Firefox while
adhering to the modern design principles set by Mozilla.
'';
description = "Universal dark theme for Firefox while adhering to the modern design principles set by Mozilla";
homepage = "https://overdodactyl.github.io/ShadowFox/";
license = licenses.mit;
maintainers = with maintainers; [ infinisil ];
Expand Down
4 changes: 2 additions & 2 deletions pkgs/tools/security/spire/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{ lib, buildGo118Module, fetchFromGitHub }:
{ lib, buildGoModule, fetchFromGitHub }:

buildGo118Module rec {
buildGoModule rec {
pname = "spire";
version = "1.3.1";

Expand Down
Loading