unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Leo Famulari <leo@famulari.name>
To: Efraim Flashner <efraim@flashner.co.il>
Cc: guix-devel@gnu.org
Subject: Re: Consolidating Go packages
Date: Thu, 15 Aug 2019 14:40:58 -0400	[thread overview]
Message-ID: <20190815184058.GA24201@jasmine.lan> (raw)
In-Reply-To: <20190815081906.GA27046@E2140>

On Thu, Aug 15, 2019 at 11:19:06AM +0300, Efraim Flashner wrote:
> So to summarize, while it is techincally possible to "build" them, in
> actuality they are used in source code form as part of the build
> process.

That's true for Guix but not if you were building Go software outside of
Guix. In that case they would be compiled and re-used through the use of
Go's built-in memoized cache (it's very similar to what Guix does). It's
basically a limitation or bug in our go-build-system that re-using
compiled Go objects does not work.

> So, either it should be just a "source snippet" or it should be a hidden
> package.

Nobody needs to install these libraries but they should be packages so
they show up in the Guix UI (`guix package --show`). I think we can
treat them like other shared library packages. And there is currently
some "building" from our point of view — a package-specific filesystem
hierarchy is created.

  reply	other threads:[~2019-08-15 18:41 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-14 19:06 Consolidating Go packages Leo Famulari
2019-08-15  8:19 ` Efraim Flashner
2019-08-15 18:40   ` Leo Famulari [this message]
2019-10-17 18:38 ` 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=20190815184058.GA24201@jasmine.lan \
    --to=leo@famulari.name \
    --cc=efraim@flashner.co.il \
    --cc=guix-devel@gnu.org \
    /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).