go: update URLs

golang.org redirects to go.dev
This commit is contained in:
zowoq 2021-11-26 19:11:14 +10:00
parent a811e4f5ba
commit 38ee5f8707
6 changed files with 6 additions and 6 deletions

View file

@ -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;

View file

@ -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;

View file

@ -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;

View file

@ -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 ];

View file

@ -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}");
};

View file

@ -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 ]]