git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #18516 from offlinehacker/pkgs/go/1.7.1

go_1_7: 1.7 -> 1.7.1

commit4d25b23d26aec03e6d04460a18affa70f49ce2b8 authorDaiderd Jordan <daiderd@gmail.com> dateWed 14 Sep 2016, 20:54 (10 years ago) parent3ed0191272c59a
2 files changed+7−7
pkgs/development/compilers/go/1.7.nix+2−2 pkgs/development/compilers/go/remove-tools-1.7.patch+5−5
pkgs/development/compilers/go/1.7.nix+2−2
@@ -15,13 +15,13 @@ in
1515
1616stdenv.mkDerivation rec {
1717 name = "go-${version}";
18− version = "1.7";
18+ version = "1.7.1";
1919
2020 src = fetchFromGitHub {
2121 owner = "golang";
2222 repo = "go";
2323 rev = "go${version}";
24− sha256 = "03wc4r5pgxrlh3lp8l0hb1bhsrwv4hfq1fcj8n82bfk3hvj43am2";
24+ sha256 = "121cvpjpbyl3lyd6j5lnnq6pr8vl7ar5zvap1132c522lxgxw356";
2525 };
2626
2727 # perl is used for testing go vet
pkgs/development/compilers/go/remove-tools-1.7.patch+5−5
@@ -1,8 +1,8 @@
11diff --git a/src/go/build/build.go b/src/go/build/build.go
2−index 496fe11..8c81dbd 100644
2+index 9706b8b..f250751 100644
33--- a/src/go/build/build.go
44+++ b/src/go/build/build.go
5−@@ -1388,7 +1388,7 @@ func init() {
5+@@ -1513,7 +1513,7 @@ func init() {
66 }
77
88 // ToolDir is the directory containing build tools.
@@ -12,11 +12,11 @@ index 496fe11..8c81dbd 100644
1212 // IsLocalImport reports whether the import path is
1313 // a local import path, like ".", "..", "./foo", or "../foo".
1414diff --git a/src/runtime/extern.go b/src/runtime/extern.go
15−index d346362..fb22b6e 100644
15+index 441dcd9..a50277e 100644
1616--- a/src/runtime/extern.go
1717+++ b/src/runtime/extern.go
18−@@ -194,6 +194,17 @@ func GOROOT() string {
19− return defaultGoroot
18+@@ -230,6 +230,17 @@ func GOROOT() string {
19+ return sys.DefaultGoroot
2020 }
2121
2222+// GOTOOLDIR returns the root of the Go tree.