go: use binary bootstrap for all platforms
This mirrors what Rust does and allows us to drop go1.4 from the process.
This commit is contained in:
@@ -11,9 +11,9 @@ let
|
||||
|
||||
inherit (lib) optionals optionalString;
|
||||
|
||||
go_bootstrap = callPackage ./bootstrap.nix {
|
||||
inherit Security;
|
||||
};
|
||||
version = "1.14.15";
|
||||
|
||||
go_bootstrap = callPackage ./bootstrap.nix { };
|
||||
|
||||
goBootstrap = runCommand "go-bootstrap" {} ''
|
||||
mkdir $out
|
||||
@@ -41,7 +41,7 @@ in
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "go";
|
||||
version = "1.14.15";
|
||||
inherit version;
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://dl.google.com/go/go${version}.src.tar.gz";
|
||||
|
||||
Reference in New Issue
Block a user