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:
Ivan Babrou
2021-02-20 08:09:42 +10:00
committed by zowoq
parent 0bff5a7843
commit cf69b3e801
9 changed files with 80 additions and 205 deletions
+4 -4
View File
@@ -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";