From: "Ludovic Courtès" <ludo@gnu.org>
To: Mathieu Othacehe <m.othacehe@gmail.com>
Cc: guix-devel@gnu.org
Subject: Re: How can I set architecture/system-specific origin sources?
Date: Thu, 02 Jan 2020 23:16:28 +0100 [thread overview]
Message-ID: <877e29sdvn.fsf@gnu.org> (raw)
In-Reply-To: <87eewksnqr.fsf@gmail.com> (Mathieu Othacehe's message of "Tue, 31 Dec 2019 13:06:36 +0100")
Hi,
Mathieu Othacehe <m.othacehe@gmail.com> skribis:
> Well, it's not really a bug, but quite suprising at first. If you look
> at the definition of <package> in (guix packages), you'll see that some
> fields are (thunked). %current-system and %current-target-system will
> only return valid results in (thunked) fields.
>
> As "source" is not thunked, you can make it thunked, but it can hurt
> performances. You can also make multiple packages for each architecture,
> and use them as inputs conditionned by %current-system and
> %current-target-system.
I should say that it’s because source is architecture-independent. :-)
The package definition for ‘mit-scheme’, for example, passes the
bootstrap binaries, which are architecture-dependent, as inputs.
Ludo’.
next prev parent reply other threads:[~2020-01-02 22:16 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-12-31 11:30 How can I set architecture/system-specific origin sources? Pierre Neidhardt
2019-12-31 12:06 ` Mathieu Othacehe
2019-12-31 14:00 ` Pierre Neidhardt
2020-01-01 12:22 ` Efraim Flashner
2020-01-02 11:21 ` Pierre Neidhardt
2020-01-02 22:16 ` Ludovic Courtès [this message]
2020-01-02 22:33 ` Pierre Neidhardt
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=877e29sdvn.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=guix-devel@gnu.org \
--cc=m.othacehe@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 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).