go: fix tests and impurity

This commit is contained in:
Orivej Desh 2017-09-17 05:56:11 +00:00
parent 49a060ea1f
commit 589574e5c9

View File

@ -118,6 +118,15 @@ stdenv.mkDerivation rec {
./ssl-cert-file-1.9.patch
./creds-test.patch
./remove-test-pie-1.9.patch
(fetchpatch {
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 ''
@ -171,11 +180,11 @@ stdenv.mkDerivation rec {
disallowedReferences = [ go_bootstrap ];
meta = with stdenv.lib; {
branch = "1.8";
branch = "1.9";
homepage = http://golang.org/;
description = "The Go Programming language";
license = licenses.bsd3;
maintainers = with maintainers; [ cstrahan wkennington ];
maintainers = with maintainers; [ cstrahan orivej wkennington ];
platforms = platforms.linux ++ platforms.darwin;
};
}