···15151616stdenv.mkDerivation rec {
1717 name = "go-${version}";
1818- version = "1.6";
1818+ version = "1.6.2";
19192020 src = fetchurl {
2121 url = "https://github.com/golang/go/archive/go${version}.tar.gz";
2222- sha256 = "04g7w34qamgy9gqpy75xm03s8xbbslv1735iv1a06z8sphpkgs7m";
2222+ sha256 = "17sfhg3xfnakk666wlsbhxp4vbn19hlywf5cn1zfcd4zqkcyx30h";
2323 };
24242525 # perl is used for testing go vet
···96969797 patches = [
9898 ./remove-tools-1.5.patch
9999- # Fix bug when using musl (see https://github.com/golang/go/issues/14476)
100100- # Should be fixed by go 1.6.1
101101- (fetchpatch {
102102- url = "https://github.com/golang/go/commit/1439158120742e5f41825de90a76b680da64bf76.patch";
103103- sha256 = "0yixpbx056ns5wgd3f4absgiyc2ymmqk8mkhhz5ja90dvilzxcwd";
104104- })
10599 ]
106100 # -ldflags=-s is required to compile on Darwin, see
107101 # https://github.com/golang/go/issues/11994