3
0
Fork 0
forked from mirrors/nixpkgs

go: 1.9.1 -> 1.9.2

This commit is contained in:
adisbladis 2017-10-26 18:28:08 +08:00
parent 1d1e0920d9
commit df04f0cb63
No known key found for this signature in database
GPG key ID: ED58F95069B004F5

View file

@ -25,13 +25,13 @@ in
stdenv.mkDerivation rec {
name = "go-${version}";
version = "1.9.1";
version = "1.9.2";
src = fetchFromGitHub {
owner = "golang";
repo = "go";
rev = "go${version}";
sha256 = "1p226lgsmiwgcvmiakac9i08304cq5ick23vmsk1vjcsh6dvz9i3";
sha256 = "07p4ld07r2nml2bsbfb8h51hqilbqyhhdlia99y1gk7ibvhybv8i";
};
# perl is used for testing go vet
@ -123,10 +123,6 @@ stdenv.mkDerivation rec {
url = "https://github.com/golang/go/commit/29415eb2b92e78481897c4161ba99f5b09fa6102.patch";
sha256 = "01jkm4b2dazzjnfla7rdd0w2clzplga3zza6ybpmkjkk3i4bp73d";
})
(fetchpatch {
url = "https://github.com/golang/go/commit/27e80f7c4d8001598367e15a1617fa524bd0fb11.patch";
sha256 = "1250nrc79jwcagkjqffn5srn78isykvjhvmqhwipwyqb99q85wcz";
})
];
postPatch = optionalString stdenv.isDarwin ''