From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 2C2jNIxyFGB6LQAA0tVLHw (envelope-from ) for ; Fri, 29 Jan 2021 20:39:40 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id SUXcL4xyFGBgEQAAB5/wlQ (envelope-from ) for ; Fri, 29 Jan 2021 20:39:40 +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 225239402D6 for ; Fri, 29 Jan 2021 20:39:40 +0000 (UTC) Received: from localhost ([::1]:51626 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l5aYN-0002o6-2c for larch@yhetil.org; Fri, 29 Jan 2021 15:39:39 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:55450) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l5aXy-0002mP-Pm for help-guix@gnu.org; Fri, 29 Jan 2021 15:39:14 -0500 Received: from mail1.fsfe.org ([2001:aa8:ffed:f5f3::151]:51406) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l5aXw-0004LZ-33 for help-guix@gnu.org; Fri, 29 Jan 2021 15:39:14 -0500 From: Jelle Licht To: Leo Famulari Subject: Re: Packaging (simple) tools in Golang In-Reply-To: References: <86zh0tuqy3.fsf@fsfe.org> Date: Fri, 29 Jan 2021 21:39:05 +0100 Message-ID: <86tuqzv5p2.fsf@fsfe.org> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2001:aa8:ffed:f5f3::151; envelope-from=jlicht@fsfe.org; helo=mail1.fsfe.org X-Spam_score_int: -41 X-Spam_score: -4.2 X-Spam_bar: ---- X-Spam_report: (-4.2 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: help-guix Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -0.75 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=fsfe.org (policy=none); spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Queue-Id: 225239402D6 X-Spam-Score: -0.75 X-Migadu-Scanner: scn1.migadu.com X-TUID: N9a/+MGnsWpB Leo Famulari writes: > On Thu, Jan 28, 2021 at 02:33:08PM +0100, Jelle Licht wrote: >> Hello Guix! >> >> How would one package a tool written in Go(lang) using guix? I am >> looking at https://github.com/guitmz/n26, but all of my efforts using >> the go-build-system end up having only some documentation and (if I set >> `#:install-source?' to #f) the sources in the resultant output. Ideally, >> I would end up with a /bin/n26 in addition to the documentation I >> get now. > > To clarify, when you tell it not to install the source code, it installs > the source code anyways? Yeah, I fumbled that up summarising it here; `#:install-source?' does exactly what it says on the tin.