go: update URLs

golang.org redirects to go.dev
main
zowoq 3 years ago
parent a811e4f5ba
commit 38ee5f8707
  1. 2
      pkgs/development/compilers/go/1.15.nix
  2. 2
      pkgs/development/compilers/go/1.16.nix
  3. 2
      pkgs/development/compilers/go/1.17.nix
  4. 2
      pkgs/development/compilers/go/2-dev.nix
  5. 2
      pkgs/development/compilers/go/binary.nix
  6. 2
      pkgs/development/compilers/go/print-hashes.sh

@ -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…
Cancel
Save