all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: David Craven <david@craven.ch>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: guix-devel <guix-devel@gnu.org>
Subject: Re: gexps
Date: Thu, 1 Sep 2016 13:58:31 +0200	[thread overview]
Message-ID: <CAL1_imn1+kWuk8jDLzgpHpJq9vBXRfZNidChPKBWe6BYLryO5g@mail.gmail.com> (raw)
In-Reply-To: <87zinrrgt2.fsf@gnu.org>

> 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?

> 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?

  reply	other threads:[~2016-09-01 11:58 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   ` David Craven [this message]
2016-09-01 12:59     ` gexps Ludovic Courtès

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=CAL1_imn1+kWuk8jDLzgpHpJq9vBXRfZNidChPKBWe6BYLryO5g@mail.gmail.com \
    --to=david@craven.ch \
    --cc=guix-devel@gnu.org \
    --cc=ludo@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.