From: ludo@gnu.org (Ludovic Courtès)
To: David Craven <david@craven.ch>
Cc: guix-devel <guix-devel@gnu.org>
Subject: Re: gexps
Date: Thu, 01 Sep 2016 14:59:28 +0200 [thread overview]
Message-ID: <87inufn5cf.fsf@gnu.org> (raw)
In-Reply-To: <CAL1_imn1+kWuk8jDLzgpHpJq9vBXRfZNidChPKBWe6BYLryO5g@mail.gmail.com> (David Craven's message of "Thu, 1 Sep 2016 13:58:31 +0200")
David Craven <david@craven.ch> skribis:
>> If we force use of the host system type (say x86_64-linux), independent
>> of (%current-system) (say mips64el-linux), we approach what you want.
>> However, that would give us different derivations depending on the host
>> system type. That is, ‘guix system build -s mips64el-linux -d’ on
>> x86_64 would return something different from ‘guix system build -d’ on
>> mips64. This is not desirable.
>
> Maybe an option would be if %current-system != host-system run guile
> using qemu-arm?
That would make it a different derivation.
>> An option would to have ‘gexp->file’ produce a fixed-output derivation
>> (it can compute the hash of the output on the host side).
>>
>> Or maybe we need another mechanism similar to fixed-output derivations
>> to define equivalence classes of derivations.
>
> I'll have to read up on fixed-output derivations. Can you give me an
> example of where they are used currently?
For downloads (origins). The manual mentions it briefly.
Ludo’.
prev parent reply other threads:[~2016-09-01 12:59 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-30 18:01 gexps David Craven
2016-09-01 11:38 ` gexps Ludovic Courtès
2016-09-01 11:58 ` gexps David Craven
2016-09-01 12:59 ` Ludovic Courtès [this message]
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=87inufn5cf.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=david@craven.ch \
--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 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.