···1516stdenv.mkDerivation rec {
17 name = "go-${version}";
18- version = "1.6";
1920 src = fetchurl {
21 url = "https://github.com/golang/go/archive/go${version}.tar.gz";
22- sha256 = "04g7w34qamgy9gqpy75xm03s8xbbslv1735iv1a06z8sphpkgs7m";
23 };
2425 # perl is used for testing go vet
···9697 patches = [
98 ./remove-tools-1.5.patch
99- # Fix bug when using musl (see https://github.com/golang/go/issues/14476)
100- # Should be fixed by go 1.6.1
101- (fetchpatch {
102- url = "https://github.com/golang/go/commit/1439158120742e5f41825de90a76b680da64bf76.patch";
103- sha256 = "0yixpbx056ns5wgd3f4absgiyc2ymmqk8mkhhz5ja90dvilzxcwd";
104- })
105 ]
106 # -ldflags=-s is required to compile on Darwin, see
107 # https://github.com/golang/go/issues/11994
···1516stdenv.mkDerivation rec {
17 name = "go-${version}";
18+ version = "1.6.2";
1920 src = fetchurl {
21 url = "https://github.com/golang/go/archive/go${version}.tar.gz";
22+ sha256 = "17sfhg3xfnakk666wlsbhxp4vbn19hlywf5cn1zfcd4zqkcyx30h";
23 };
2425 # perl is used for testing go vet
···9697 patches = [
98 ./remove-tools-1.5.patch
00000099 ]
100 # -ldflags=-s is required to compile on Darwin, see
101 # https://github.com/golang/go/issues/11994