[Nix-dev] For go-wizards: Building the geth using buildGoPackage

Profpatsch mail at profpatsch.de
Wed Apr 26 14:16:31 CEST 2017


On 17-04-26 12:18pm, Sergey Mironov wrote:
> Upstream maintainer pointed out to
> https://github.com/golang/go/issues/14669 problem. I've tried adding
> 
> preBuild=''
>   export CGO_CFLAGS='-O0'
> '';
> 
> without success..

You will have to poke a bit.

I’d read the definition of `buildGoPackage` now,
which can be found in
`pkgs/development/go-modules/generic/default.nix`.

Another idea would be preConfigure = "set -x"
to make bash output everything it calls.

-- 
Proudly written in Mutt with Vim on NixOS.
Q: Why is this email five sentences or less?
A: http://five.sentenc.es
May take up to five days to read your message. If it’s urgent, call me.


More information about the nix-dev mailing list