Merge pull request #147476 from qowoz/godev
This commit is contained in:
commit
26c49e436c
@ -274,7 +274,7 @@ stdenv.mkDerivation rec {
|
|||||||
disallowedReferences = [ goBootstrap ];
|
disallowedReferences = [ goBootstrap ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "http://golang.org/";
|
homepage = "https://go.dev/";
|
||||||
description = "The Go Programming language";
|
description = "The Go Programming language";
|
||||||
license = licenses.bsd3;
|
license = licenses.bsd3;
|
||||||
maintainers = teams.golang.members;
|
maintainers = teams.golang.members;
|
||||||
|
@ -269,7 +269,7 @@ stdenv.mkDerivation rec {
|
|||||||
disallowedReferences = [ goBootstrap ];
|
disallowedReferences = [ goBootstrap ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "http://golang.org/";
|
homepage = "https://go.dev/";
|
||||||
description = "The Go Programming language";
|
description = "The Go Programming language";
|
||||||
license = licenses.bsd3;
|
license = licenses.bsd3;
|
||||||
maintainers = teams.golang.members;
|
maintainers = teams.golang.members;
|
||||||
|
@ -268,7 +268,7 @@ stdenv.mkDerivation rec {
|
|||||||
disallowedReferences = [ goBootstrap ];
|
disallowedReferences = [ goBootstrap ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "http://golang.org/";
|
homepage = "https://go.dev/";
|
||||||
description = "The Go Programming language";
|
description = "The Go Programming language";
|
||||||
license = licenses.bsd3;
|
license = licenses.bsd3;
|
||||||
maintainers = teams.golang.members;
|
maintainers = teams.golang.members;
|
||||||
|
@ -267,7 +267,7 @@ stdenv.mkDerivation rec {
|
|||||||
disallowedReferences = [ goBootstrap ];
|
disallowedReferences = [ goBootstrap ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "http://golang.org/";
|
homepage = "https://go.dev/";
|
||||||
description = "The Go Programming language";
|
description = "The Go Programming language";
|
||||||
license = licenses.bsd3;
|
license = licenses.bsd3;
|
||||||
maintainers = teams.golang.members ++ [ maintainers._3noch ];
|
maintainers = teams.golang.members ++ [ maintainers._3noch ];
|
||||||
|
@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
|
|||||||
name = "go-${version}-${platform}-bootstrap";
|
name = "go-${version}-${platform}-bootstrap";
|
||||||
|
|
||||||
src = fetchurl {
|
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}");
|
sha256 = hashes.${platform} or (throw "Missing Go bootstrap hash for platform ${platform}");
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
|
|
||||||
BASEURL=https://golang.org/dl/
|
BASEURL=https://go.dev/dl/
|
||||||
VERSION=${1:-}
|
VERSION=${1:-}
|
||||||
|
|
||||||
if [[ -z $VERSION ]]
|
if [[ -z $VERSION ]]
|
||||||
|
Loading…
Reference in New Issue
Block a user