nixpkgs/pkgs/development/compilers/go
Charles Strahan e965e42dc5 go: fix build on Darwin
The go tests get tripped up due to error messages along the lines of:

    ld: warning: /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation, ignoring unexpected dylib file

Which is due to us passing that along via $NIX_LDFLAGS in the `clang` wrapper.
To keep `go` from getting confused, I create a small `clang` wrapper that
filters out that warning.

Also, the strip.patch is no longer necessary, and only causes problems when
testing DWARF support:

    --- FAIL: TestDwarfAranges (0.59s)
        runtime-lldb_test.go:218: Missing aranges section
    FAIL
    FAIL    runtime 17.123s

Also, I disable the misc/cgo/errors test, as I suspect it is also due to similar
problems regarding `ld`:

    ##### ../misc/cgo/errors
    misc/cgo/errors/test.bash: BUG: expected error output to contain "err1.go:11:" but saw:
    # command-line-arguments
    cannot parse gcc output $WORK/command-line-arguments/_obj//_cgo_.o as ELF, Mach-O, PE object
    2016/05/07 02:07:58 Failed: exit status 1

Closes #14208
2016-05-06 22:34:16 -04:00
..
1.1.nix golang: Remove old, unused compilers 2015-08-19 13:25:44 -07:00
1.2.nix golang: Remove old, unused compilers 2015-08-19 13:25:44 -07:00
1.3.nix golang: Remove old, unused compilers 2015-08-19 13:25:44 -07:00
1.4.nix Merge branch 'master' into closure-size 2016-04-01 10:06:01 +02:00
1.5.nix go: remove ssl certs patches 2016-02-26 17:58:58 +00:00
1.6.nix go: fix build on Darwin 2016-05-06 22:34:16 -04:00
default.nix go: rename default.nix to 1.0.nix 2015-07-21 11:41:20 +02:00
new-binutils.patch go-1.4: Update binutils patch to handle i686-linux 2016-03-10 21:06:13 +01:00
remove-tools-1.4.patch golang: Remove old, unused compilers 2015-08-19 13:25:44 -07:00
remove-tools-1.5.patch Fix go-tools to include cover/vet for 1.4 but not 1.5 onward 2015-08-27 01:02:00 -07:00
setup-hook.sh
strip.patch go-1.5: fix build on darwin, set to default version for all platforms 2015-10-19 16:14:36 -07:00