Commit Graph

163 Commits

Author SHA1 Message Date
Luca Bruno
10e7572d17 Use go1.4 instead of go-1.4 in derivation names. Closes #6243
I chose meta.branch because go 1.1 and 1.2 had this already.
2015-02-09 10:16:14 +01:00
Luca Bruno
3f718a743d Add dontInstallSrc flag to buildGoPackage 2015-02-05 18:07:28 +01:00
Luca Bruno
a594f0bcd5 Port gox to buildGoPackage 2015-02-04 13:46:32 +01:00
Emery Hemingway
faa5dccab8 new Go support function 'buildGoPackage'
add a setupHook to the Go compiler that builds a GOPATH
new buildGoPackage function that overides the phases of stdenv
2015-02-03 14:21:48 +01:00
Brendan Long
51902ba32d go: Update to version 1.4.1.
Also had to fix the code that was trying to make sure the go-* folders get renamed to just "go".

Resolves #5797
2015-01-22 21:49:41 -05:00
Brendan Long
8c3399f4d8 go: Update to 1.4 2015-01-06 13:31:02 -06:00
aszlig
c08a49bffc
go: Remove explicitly adding libgcc_s.so.
As of 65221567c12eb20d1254f6bc1b573e126af43645, it's no longer needed.

This is part of an attempt to fix nixpkgs tarball evaluation.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2015-01-03 18:39:31 +01:00
Shea Levy
05edd656f6 Missed gcc refs 2014-12-26 12:28:15 -05:00
John Wiegley
28b6fb61e6 Change occurrences of gcc to the more general cc
This is done for the sake of Yosemite, which does not have gcc, and yet
this change is also compatible with Linux.
2014-12-26 11:06:21 -06:00
Domen Kožar
4aa3eec330 Merge branch 'master' into staging
Conflicts:
	pkgs/development/libraries/fontconfig/default.nix
2014-12-07 14:02:48 +01:00
Ricardo M. Correia
d4b4bae307 Update my maintainership 2014-11-29 02:15:39 +01:00
Vladimír Čunát
a68c1adc35 *: fix builds by disregarding warning from new glibc
Says: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
CC: #4803. There will likely appear more of these errors on Hydra in time.
2014-11-26 23:40:03 +01:00
Eelco Dolstra
e368ca20c9 Fix old Go versions
http://hydra.nixos.org/build/17432147
http://hydra.nixos.org/build/17439772
2014-11-25 00:53:06 +01:00
Evgeny Egorochkin
9b05a425cd golang: add meta.branch 2014-11-03 13:12:47 +02:00
Lluís Batlle i Rossell
eb21ef2bc7 Updating go from 1.3.2 to 1.3.3. 2014-10-10 17:07:16 +02:00
Aristid Breitkreuz
361375c3ac go: update from 1.3.2 to 1.3.3 2014-10-07 21:50:40 +02:00
Siarhei Zirukin
448f3229f8 package update: go-1.3.1 -> go-1.3.2
Closes #4279
2014-09-28 01:35:49 +01:00
Matej Cotman
e541add0c7 go 1.1 and 1.2: fix builds by removing one test 2014-09-26 00:26:29 +02:00
Matej Cotman
22e21c95d9 go: fix go 1.3.1 build
Closes #4243
2014-09-24 20:32:20 +01:00
Philip Horger
5e80764774 go: Include all 3 GOROOT tools 2014-09-21 01:24:18 +01:00
Eelco Dolstra
2d6d43c02c Fix tarball build 2014-08-24 18:52:50 +02:00
Tino Breddin
f513e383ef golang: bump to 1.3.1 2014-08-17 21:08:45 +02:00
Eelco Dolstra
4f7289eec9 Don't use ensureDir 2014-07-22 11:01:32 +02:00
Eelco Dolstra
f77abc8b7a go: Fix build
http://hydra.nixos.org/build/12538479
2014-07-22 10:49:46 +02:00
Luca Bruno
aa0179744a go: fix build of 1.0.3 2014-07-02 12:12:57 +02:00
John Wiegley
8cf92b530a Merge pull request #3060 from cstrahan/packer
Add gox and packer packages
2014-06-24 15:19:42 -07:00
Domen Kožar
0e54b7980a go 1.3: doesn't evaluate on freebsd 2014-06-23 17:43:43 +02:00
Charles Strahan
06a07684aa Add gox and packer packages 2014-06-23 03:56:31 -04:00
Charles Strahan
984bb6b923 go 1.3 and darwin support 2014-06-23 01:10:20 -04:00
Shea Levy
2943fe1e76 go: bump 2014-06-03 13:51:37 -04:00
Lluís Batlle i Rossell
418f0b0169 Revert "go: updating to 1.2.2"
Now I've read in Release Notes that the '.2' affected only binary releases.
http://golang.org/doc/devel/release.html#go1.2.minor
2014-05-14 10:16:35 +02:00
Lluís Batlle i Rossell
950fd7644c go: updating to 1.2.2 2014-05-14 10:14:28 +02:00
Vladimír Čunát
11d4c257c1 Merge branch glibc-2.19, see #1840 2014-04-02 19:03:49 +02:00
Ricardo M. Correia
342fc9c207 go: Add myself as maintainer to receive Hydra notifications 2014-03-27 12:37:18 +01:00
Ricardo M. Correia
e39b70dd79 go: Update to 1.2.1 2014-03-27 12:37:18 +01:00
Vladimír Čunát
a78f47917a go: don't assume sse2 on i686 (maybe fixes build) 2014-02-26 15:57:13 +01:00
Mathijs Kwik
84538c25da go: removeGodocExternals no longer needed 2013-12-23 10:24:32 +01:00
Lluís Batlle i Rossell
10f250f65c Adding go 1.2.
It doesn't include godoc anymore.

I could reproduce this, building this package:
http://code.google.com/p/go/issues/detail?id=6999
2013-12-23 09:43:19 +01:00
zimbatm
8677a22dd5 Fixes go 1.1.2 compilation on OSX Maverick
Apparently Apple thinks that faking gcc wiht a clang stub but not providing a
compatile libgcc.a is not going to cause any issues. They really do hate GPL.
2013-11-17 13:51:37 +00:00
Lluís Batlle i Rossell
41e95c68b3 go: adding an option to remove external references in godoc
godoc pages point to googleapis and google plus URLs, for every visit in
your local godoc. I added an option to disable that (the hard way, it
takes out the references). I don't think it removes any feature of
godoc.
2013-09-15 11:57:52 +02:00
Zef Hemel
8d001c1a08 Darwin support for Go 1.1 (close #952) 2013-09-14 15:13:26 +02:00
Ricardo M. Correia
6039f2effe go: update to 1.1.2
Also fix impurity in src/pkg/net/lookup_unix.go.
2013-09-07 05:10:50 +02:00
Lluís Batlle i Rossell
b1db03ece6 Updating go to 1.1.1 2013-07-22 22:18:51 +02:00
Lluís Batlle i Rossell
d4039f99fd go: 1.1 released 2013-05-14 10:58:48 +02:00
Lluís Batlle i Rossell
290bc17ff6 Updating go 1.1beta2 to 1.1rc1 2013-05-02 13:17:01 +04:00
Lluís Batlle i Rossell
d4ac42ae11 Adding go 1.1 beta 2013-04-30 11:58:22 +04:00
Lluis Batlle
61f9b4f61b Fixing the go timezones. glibc doesn't include the zoneinfo anymore. 2013-03-19 11:48:12 +01:00
Eelco Dolstra
84779a6f7d Remove unnecessary parentheses around if conditions
Pet peeve...
2012-12-28 19:54:15 +01:00
Lluís Batlle i Rossell
85398493bf go: updating to 1.0.3 2012-10-09 17:02:11 +02:00
Lluis Batlle
e5bf4de6b6 go: improving the expression so it works if overriden by hg src
Users might want to override the 'src' and 'name' of go from 'hg'.
I make the expression compatible with that.

Aside, I also set GOARM in the wrapper for it to build programs fine on
armv5tel by default.
2012-08-26 23:16:29 +02:00
Lluis Batlle
df35189985 go: Removing an out of date comment 2012-08-26 23:16:27 +02:00
Lluis Batlle
bf007753d1 go: make it accept armv5tel
It doesn't build though, due to some problems fixed in go trunk. But
I failed to port them over to 1.0.2.
2012-08-26 23:16:26 +02:00
Lluís Batlle i Rossell
6655bc783e go: patching it to get the nixos cacert bundle taken just fine 2012-08-05 20:50:54 +02:00
Lluís Batlle i Rossell
e58b351734 go: updating to 1.0.2
I've only tried it in 386. We'll see if it works on amd64.
2012-07-29 17:24:19 +02:00
Eelco Dolstra
c556a6ea46 * "ensureDir" -> "mkdir -p". "ensureDir" is a rather pointless
function, so obsolete it.

svn path=/nixpkgs/branches/stdenv-updates/; revision=31644
2012-01-18 20:16:00 +00:00
Eelco Dolstra
a1e834e85a * Get rid of the ugly `useFromStdenv' hack in all-packages.nix.
Instead, use the generic package override mechanism to use packages
  from earlier bootstrap phases.
* Don't rely on the existence of attributes such as
  `stdenv.coreutils'.

svn path=/nixpkgs/trunk/; revision=22991
2010-08-06 10:34:34 +00:00
Lluís Batlle i Rossell
22b3336161 I had also to disable the tests for 'net' in go for it to build in chroot.
(I thought I had chroots enabled in my computer - I did not, hence so much commits)

svn path=/nixpkgs/trunk/; revision=22232
2010-06-12 11:45:30 +00:00
Lluís Batlle i Rossell
2ba5bba371 Disabling the http tests on go (fail on hydra)
svn path=/nixpkgs/trunk/; revision=22231
2010-06-12 11:31:39 +00:00
Lluís Batlle i Rossell
0530f43655 Updating go, and making the go expression work in both i686-linux and x86_64-linux.
svn path=/nixpkgs/trunk/; revision=22230
2010-06-12 11:21:20 +00:00
Nicolas Pierron
29384d43f2 * Update Go's version. Make 8g & 8l commands working with no need of
extra argument to locate the Go's libraries.

svn path=/nixpkgs/trunk/; revision=18376
2009-11-16 18:42:43 +00:00
Nicolas Pierron
66ef37d260 * Fix "cgo" binary be defining LC_ALL=C inside the binary.
svn path=/nixpkgs/trunk/; revision=18350
2009-11-14 23:39:53 +00:00
Nicolas Pierron
a61a4bc4bc * Fix TimeZone in The Go Programming Language.
svn path=/nixpkgs/trunk/; revision=18349
2009-11-14 23:39:46 +00:00
Nicolas Pierron
da1311b893 * Add the Go Programming Language compiler.
svn path=/nixpkgs/trunk/; revision=18348
2009-11-14 20:14:28 +00:00