nixpkgs-suyu/pkgs/development/compilers/go/bootstrap.nix
zowoq d9be3c767c
go_bootstrap: remove top-level attribute (#113113)
this package should only be used internally for go_*
2021-02-15 10:06:35 -08:00

17 lines
405 B
Nix

{ stdenv, srcOnly, fetchurl, callPackage, Security }:
let
go_bootstrap = if stdenv.isAarch64 then
srcOnly {
name = "go-1.8-linux-arm64-bootstrap";
src = fetchurl {
url = "https://cache.xor.us/go-1.8-linux-arm64-bootstrap.tar.xz";
sha256 = "0sk6g03x9gbxk2k1djnrgy8rzw1zc5f6ssw0hbxk6kjr85lpmld6";
};
}
else
callPackage ./1.4.nix {
inherit Security;
};
in
go_bootstrap