[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: go-build-system possible improvments
From: |
Maxim Cournoyer |
Subject: |
Re: go-build-system possible improvments |
Date: |
Fri, 23 Apr 2021 23:30:52 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) |
Hi François,
François <francois-oss@avalenn.eu> writes:
> Hello Maxim,
>
> On Tue, Apr 20, 2021 at 10:00:15PM -0400, Maxim Cournoyer wrote:
>> That's exactly what we're doing now (disable Go module with
>> GO11MODULE=off and use GOPATH to find the sources). Debian does
>> something lazy like just calling 'go module vendor', which builds a huge
>> directory filled with all the sources needed. So does Nix. Only Gentoo
>> goes to some length, from what I had seen last I check.
>
> Do you have some links to share on how Gentoo does it?
I think I ended up looking in their git repo, but otherwise there's this
page for their go-module.eclass module:
https://devmanual.gentoo.org/eclass-reference/go-module.eclass/index.html.
HTH,
Maxim