Merge pull request #18516 from offlinehacker/pkgs/go/1.7.1
go_1_7: 1.7 -> 1.7.1
This commit is contained in:
commit
4d25b23d26
|
@ -15,13 +15,13 @@ in
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "go-${version}";
|
name = "go-${version}";
|
||||||
version = "1.7";
|
version = "1.7.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "golang";
|
owner = "golang";
|
||||||
repo = "go";
|
repo = "go";
|
||||||
rev = "go${version}";
|
rev = "go${version}";
|
||||||
sha256 = "03wc4r5pgxrlh3lp8l0hb1bhsrwv4hfq1fcj8n82bfk3hvj43am2";
|
sha256 = "121cvpjpbyl3lyd6j5lnnq6pr8vl7ar5zvap1132c522lxgxw356";
|
||||||
};
|
};
|
||||||
|
|
||||||
# perl is used for testing go vet
|
# perl is used for testing go vet
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
diff --git a/src/go/build/build.go b/src/go/build/build.go
|
diff --git a/src/go/build/build.go b/src/go/build/build.go
|
||||||
index 496fe11..8c81dbd 100644
|
index 9706b8b..f250751 100644
|
||||||
--- a/src/go/build/build.go
|
--- a/src/go/build/build.go
|
||||||
+++ b/src/go/build/build.go
|
+++ b/src/go/build/build.go
|
||||||
@@ -1388,7 +1388,7 @@ func init() {
|
@@ -1513,7 +1513,7 @@ func init() {
|
||||||
}
|
}
|
||||||
|
|
||||||
// ToolDir is the directory containing build tools.
|
// ToolDir is the directory containing build tools.
|
||||||
|
@ -12,11 +12,11 @@ index 496fe11..8c81dbd 100644
|
||||||
// IsLocalImport reports whether the import path is
|
// IsLocalImport reports whether the import path is
|
||||||
// a local import path, like ".", "..", "./foo", or "../foo".
|
// a local import path, like ".", "..", "./foo", or "../foo".
|
||||||
diff --git a/src/runtime/extern.go b/src/runtime/extern.go
|
diff --git a/src/runtime/extern.go b/src/runtime/extern.go
|
||||||
index d346362..fb22b6e 100644
|
index 441dcd9..a50277e 100644
|
||||||
--- a/src/runtime/extern.go
|
--- a/src/runtime/extern.go
|
||||||
+++ b/src/runtime/extern.go
|
+++ b/src/runtime/extern.go
|
||||||
@@ -194,6 +194,17 @@ func GOROOT() string {
|
@@ -230,6 +230,17 @@ func GOROOT() string {
|
||||||
return defaultGoroot
|
return sys.DefaultGoroot
|
||||||
}
|
}
|
||||||
|
|
||||||
+// GOTOOLDIR returns the root of the Go tree.
|
+// GOTOOLDIR returns the root of the Go tree.
|
||||||
|
|
Loading…
Reference in New Issue