go: update URLs
golang.org redirects to go.dev
This commit is contained in:
parent
a811e4f5ba
commit
38ee5f8707
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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 ];
|
||||
|
|
|
@ -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}");
|
||||
};
|
||||
|
||||
|
|
|
@ -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 ]]
|
||||
|
|
Loading…
Reference in a new issue