unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Ekaitz Zarraga <ekaitz@elenq.tech>
To: Hilton Chain <hako@ultrarare.space>
Cc: guix-devel@gnu.org
Subject: Re: Ability to specify compiler package for Go build system.
Date: Wed, 11 Jan 2023 10:38:30 +0000	[thread overview]
Message-ID: <qWlMF6rdB6VBfro8vw6JJXSQJJ698G0vzeV57OjPKSB7C46wbzm2Wt5ZCtB8WgmM1zPiM3Hox-e2-U9tuajecfh-I_ACH5yFsdWqwD11894=@elenq.tech> (raw)
In-Reply-To: <87pmblj0x6.wl-hako@ultrarare.space>

Hi,

> Hi Guix,
>
> I'm trying to package wakatime-cli[1], while Guix uses Go 1.17 as the default, the package requires
> Go 1.19 at the current version (v1.60.4).
>
> Though it's possible to package the last version supports Go 1.17 (v1.38.0), I wonder if we can
> adjust the build system so that a Go package could be specified via an argument in the package
> definition.
>
> Thanks!
>
> [1] https://github.com/wakatime/wakatime-cli


I don't know if that's the case for the Go build system but in the gnu build system adding the compiler you want as an input is enough for the build system to use it.

Did you try that?

Cheers,
Ekaitz


  reply	other threads:[~2023-01-11 10:39 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-11  1:49 Ability to specify compiler package for Go build system Hilton Chain
2023-01-11 10:38 ` Ekaitz Zarraga [this message]
2023-01-11 17:20 ` Katherine Cox-Buday
2023-01-11 17:25 ` (
2023-01-11 21:18   ` Ekaitz Zarraga
2023-01-12  1:02   ` Leo Famulari
2023-01-12  1:18     ` Leo Famulari

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='qWlMF6rdB6VBfro8vw6JJXSQJJ698G0vzeV57OjPKSB7C46wbzm2Wt5ZCtB8WgmM1zPiM3Hox-e2-U9tuajecfh-I_ACH5yFsdWqwD11894=@elenq.tech' \
    --to=ekaitz@elenq.tech \
    --cc=guix-devel@gnu.org \
    --cc=hako@ultrarare.space \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).