all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ricardo Wurmus <rekado@elephly.net>
To: Ivan Petkov <ivanppetkov@gmail.com>
Cc: guix-devel@gnu.org
Subject: Re: Current state of cargo-build-system
Date: Mon, 28 Jan 2019 09:44:52 +0100	[thread overview]
Message-ID: <87y375qigr.fsf@elephly.net> (raw)
In-Reply-To: <2E175E19-40C4-4954-A282-EE31C77D7A5D@gmail.com>


Ivan Petkov <ivanppetkov@gmail.com> writes:

> However, it appears that guix still insists on building the entire package even
> if we only depend on the "src" output. Is it possible to lazily build packages
> based on the type of dependency? Is this something the build system can finagle,
> or is this an inherent limitation to guix?

Outputs are only generated when building the package.

If all you need is the source code, however, you can use (package-source
the-package) and use the resulting value as an input to another package.

--
Ricardo

  parent reply	other threads:[~2019-01-28  9:13 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-21  0:11 Current state of cargo-build-system Ivan Petkov
2019-01-23 10:50 ` Ludovic Courtès
2019-01-23 11:46   ` ng0
2019-01-23 17:10 ` Danny Milosavljevic
2019-01-25 23:57   ` Ivan Petkov
2019-01-27 23:13     ` Ivan Petkov
2019-01-28  8:44     ` Ricardo Wurmus [this message]
2019-01-28 16:23       ` Ivan Petkov

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

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

  git send-email \
    --in-reply-to=87y375qigr.fsf@elephly.net \
    --to=rekado@elephly.net \
    --cc=guix-devel@gnu.org \
    --cc=ivanppetkov@gmail.com \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.