From 38ee5f8707743a38898973a5c476107e3c2eb56e Mon Sep 17 00:00:00 2001 From: zowoq <59103226+zowoq@users.noreply.github.com> Date: Fri, 26 Nov 2021 19:11:14 +1000 Subject: [PATCH] go: update URLs golang.org redirects to go.dev --- pkgs/development/compilers/go/1.15.nix | 2 +- pkgs/development/compilers/go/1.16.nix | 2 +- pkgs/development/compilers/go/1.17.nix | 2 +- pkgs/development/compilers/go/2-dev.nix | 2 +- pkgs/development/compilers/go/binary.nix | 2 +- pkgs/development/compilers/go/print-hashes.sh | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/pkgs/development/compilers/go/1.15.nix b/pkgs/development/compilers/go/1.15.nix index 8908c6afceba..5cba6be88999 100644 --- a/pkgs/development/compilers/go/1.15.nix +++ b/pkgs/development/compilers/go/1.15.nix @@ -274,7 +274,7 @@ stdenv.mkDerivation rec { disallowedReferences = [ goBootstrap ]; meta = with lib; { - homepage = "http://golang.org/"; + homepage = "https://go.dev/"; description = "The Go Programming language"; license = licenses.bsd3; maintainers = teams.golang.members; diff --git a/pkgs/development/compilers/go/1.16.nix b/pkgs/development/compilers/go/1.16.nix index 433d3f9af7a3..ed5ea00c4b9a 100644 --- a/pkgs/development/compilers/go/1.16.nix +++ b/pkgs/development/compilers/go/1.16.nix @@ -269,7 +269,7 @@ stdenv.mkDerivation rec { disallowedReferences = [ goBootstrap ]; meta = with lib; { - homepage = "http://golang.org/"; + homepage = "https://go.dev/"; description = "The Go Programming language"; license = licenses.bsd3; maintainers = teams.golang.members; diff --git a/pkgs/development/compilers/go/1.17.nix b/pkgs/development/compilers/go/1.17.nix index 62b435c4615b..94d6413a54b9 100644 --- a/pkgs/development/compilers/go/1.17.nix +++ b/pkgs/development/compilers/go/1.17.nix @@ -268,7 +268,7 @@ stdenv.mkDerivation rec { disallowedReferences = [ goBootstrap ]; meta = with lib; { - homepage = "http://golang.org/"; + homepage = "https://go.dev/"; description = "The Go Programming language"; license = licenses.bsd3; maintainers = teams.golang.members; diff --git a/pkgs/development/compilers/go/2-dev.nix b/pkgs/development/compilers/go/2-dev.nix index 8fd0e2e6630c..c70133c98b35 100644 --- a/pkgs/development/compilers/go/2-dev.nix +++ b/pkgs/development/compilers/go/2-dev.nix @@ -267,7 +267,7 @@ stdenv.mkDerivation rec { disallowedReferences = [ goBootstrap ]; meta = with lib; { - homepage = "http://golang.org/"; + homepage = "https://go.dev/"; description = "The Go Programming language"; license = licenses.bsd3; maintainers = teams.golang.members ++ [ maintainers._3noch ]; diff --git a/pkgs/development/compilers/go/binary.nix b/pkgs/development/compilers/go/binary.nix index a2fff4f6d074..d8e6b9e71de2 100644 --- a/pkgs/development/compilers/go/binary.nix +++ b/pkgs/development/compilers/go/binary.nix @@ -21,7 +21,7 @@ stdenv.mkDerivation rec { name = "go-${version}-${platform}-bootstrap"; src = fetchurl { - url = "https://golang.org/dl/go${version}.${platform}.tar.gz"; + url = "https://go.dev/dl/go${version}.${platform}.tar.gz"; sha256 = hashes.${platform} or (throw "Missing Go bootstrap hash for platform ${platform}"); }; diff --git a/pkgs/development/compilers/go/print-hashes.sh b/pkgs/development/compilers/go/print-hashes.sh index 97be7d189ad8..f095b67c627b 100755 --- a/pkgs/development/compilers/go/print-hashes.sh +++ b/pkgs/development/compilers/go/print-hashes.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash set -euo pipefail -BASEURL=https://golang.org/dl/ +BASEURL=https://go.dev/dl/ VERSION=${1:-} if [[ -z $VERSION ]]