From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id gObWKwqRg2ABhgEAgWs5BA (envelope-from ) for ; Sat, 24 Apr 2021 05:31:22 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id YbdZJwqRg2AwNwAAB5/wlQ (envelope-from ) for ; Sat, 24 Apr 2021 03:31:22 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 450F51B3B6 for ; Sat, 24 Apr 2021 05:31:21 +0200 (CEST) Received: from localhost ([::1]:49112 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1la90q-0005n0-32 for larch@yhetil.org; Fri, 23 Apr 2021 23:31:20 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52394) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1la90Z-0005ms-Ce for guix-devel@gnu.org; Fri, 23 Apr 2021 23:31:03 -0400 Received: from mail-qt1-x835.google.com ([2607:f8b0:4864:20::835]:35431) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1la90W-0001Zj-Il for guix-devel@gnu.org; Fri, 23 Apr 2021 23:31:03 -0400 Received: by mail-qt1-x835.google.com with SMTP id f12so37886137qtf.2 for ; Fri, 23 Apr 2021 20:30:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=8MnarJMO/15i6fyQ5ohmPWWx2oKUdrfR+SntIaaUjpI=; b=AaRoJZsfY2UUsEs1zeg7HLdZYVV1tEt2hcxQ2PsVeXg/NjaZaQjaJWw0Q27jNSGUl2 CJaEhL26DePNUfLgu2Jqqz/6MdFu6DKiW1fnJMHT1241IFY4W79IRpcCzL+FDkBTYemH tWcdNlbvAVbRbKMnAaQg8QLxIq6JiLtbLdo1+OR6jmK+gCn9j1+r3HYDybYvP4xKNnon Zhd6NtoPcOTOnPB7tvxkQbMZdBon1Q3t9GYokgjOanimnpNNgM4cPdaEt+PwD0o1i992 dHa1peAmLdXdhOO0DFU3QcUbAyQ2HMpxonU7iqlcoPeoGCJkJdHNQlZWAFNrt5I4KHEu MBLg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=8MnarJMO/15i6fyQ5ohmPWWx2oKUdrfR+SntIaaUjpI=; b=qzwegusxQNCPAygV4zpsYv8jdR6Mb5N0zrRb9Hhj/mv1fBwixBu2F3C6ATxNe/YQpI 7G1VmrAEMCd3qvJSYvKrRe24/9173BSAG4vlyK/bw2B0MMKFuSHGSs5XsY2ULLjNgnov plYBA4EOqc31IY50uNromJESTJtB8pjyNXH7dqA/XSGXYuSy8BzAFP5X4JPn+uA3My1V 9Q8Ycnpqs1QmzzZyvYTSxRRqssED1auZlv+ejus3NzgzfYvYVqMvyOgSEfSsRfXwmWTe xxYaci1AUobMidSAhJlz/1NFKjKV1f87ayb/Cyy6u3JCbxz5+8ViM/mRSNiw1XWfJ2Vu kYqw== X-Gm-Message-State: AOAM533ZlFXHy9epN5bOhQSQBE6VNZuf8R5TUcjnxMYqY2hPolzenaSn RU1F+Y2nrNypaWJk0/6IeVeEy+Bhb2ASmg== X-Google-Smtp-Source: ABdhPJzcrOZEUPbHMBWumEsWj6R+ipVcTVT+w9TaQKGQbGWph3UsnYCSyfvOpUyQD6spyEaHcpQ6mg== X-Received: by 2002:ac8:d87:: with SMTP id s7mr6743870qti.32.1619235058841; Fri, 23 Apr 2021 20:30:58 -0700 (PDT) Received: from hurd ([207.35.95.120]) by smtp.gmail.com with ESMTPSA id u190sm6053827qkc.18.2021.04.23.20.30.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Apr 2021 20:30:58 -0700 (PDT) From: Maxim Cournoyer To: =?utf-8?Q?Fran=C3=A7ois?= Subject: Re: go-build-system possible improvments References: <87eeg7vn3d.fsf@gmail.com> <20210414120939.mmvprjaz6636kz4h@noop.avalenn.eu> <87czusjtpc.fsf@gmail.com> <20210418103153.uvxb5jlnliq3rzua@noop.avalenn.eu> <87r1j4e6s0.fsf@gmail.com> <20210422163641.z7dvlc3bc4s47vub@noop.avalenn.eu> Date: Fri, 23 Apr 2021 23:30:52 -0400 In-Reply-To: <20210422163641.z7dvlc3bc4s47vub@noop.avalenn.eu> (=?utf-8?Q?=22Fran=C3=A7ois=22's?= message of "Thu, 22 Apr 2021 18:36:41 +0200") Message-ID: <875z0cz7df.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::835; envelope-from=maxim.cournoyer@gmail.com; helo=mail-qt1-x835.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Guix Devel Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1619235081; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=8MnarJMO/15i6fyQ5ohmPWWx2oKUdrfR+SntIaaUjpI=; b=Bpv5MSXx5LvSQsDtau32yJT4CVd7FYh7yoqBH7J/0si7tL3tNPdyZEP0FZva34aXVUIdzY W2G0LLMrfXJRyrm/v+DuPiAYzC8Mjq8RpbvxLRLh4O+D5QnN9jAXYI8fHTKm0cZgkkfYQL TFfpZAr50mctg7t0lTxQfLGAolcwNaX4IYSTRKrIltfDvInVTbG5U9c9fZddKRqyk7beT1 j3X0IRZkZKEGXSEvbbTQfYdCbstH8LDjml4HjytadeL3NsOa4DKQ89x2hqeXejcvSppT16 W9EO5CqP/gsXdAepdFGPOxcsHMi96YkCnlA4aXIvuLvQwAtUD0epQcNNbrdsZg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1619235081; a=rsa-sha256; cv=none; b=bJceZRBOgkL8RIqhjfzTSSeyNDGQxsgepZHxa43sJYide0WA6RXa3gXkxeMtky8T404Xkv Uw8F/q+mYRGixZIqqWLzsc82g32pXXUBcD9OYMkVBCvgFG59XtL+zD8/On2kQoq8kH6Wem OITjNWur0083m37hNRZGHt8DZ4cUpyEn6qBJ3SrP5DlL16rYXiuklv1vmc6YOpm3JHkf8e LDvTCJIjXLDZpZulMR4OO7ubdlAJ9fkjjD9L3WsE3qgJqnE9ENBv/mXLPfLiJkK+jFzFbL BhCHqpjg4wjc8XTQVj8PsstVOKp5f0D1TI8KeCZbGm6Vv1Wf/4P3DXI2pT9Jdw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=AaRoJZsf; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Spam-Score: -3.14 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=AaRoJZsf; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Queue-Id: 450F51B3B6 X-Spam-Score: -3.14 X-Migadu-Scanner: scn0.migadu.com X-TUID: dl+vmKOwsG8R Hi Fran=C3=A7ois, Fran=C3=A7ois 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=3Doff 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