unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Mark H Weaver <mhw@netris.org>
To: Alex Kost <alezost@gmail.com>
Cc: guix-devel@gnu.org
Subject: Re: Initializing a 64bit system using guix on a 32bit OS
Date: Sat, 23 May 2015 10:54:22 -0400	[thread overview]
Message-ID: <87fv6nmjj5.fsf@netris.org> (raw)
In-Reply-To: <874mn3bq8l.fsf@gmail.com> (Alex Kost's message of "Sat, 23 May 2015 12:24:58 +0300")

Alex Kost <alezost@gmail.com> writes:

> Thanks Ludovic and Mark!  I tried to follow your advices but eventually
> I got the same error:
>
>   guix system: error: build failed: a `x86_64-linux' is required to
> build
> `/gnu/store/zh42mbm0wvbsz05zr798nchyd3bc7fh6-guix-0.8.2.c2ee19e.drv',
> but I am a `i686-linux'
>
> I used the following command:
>
>   guix system init --no-grub config-64-simple.scm /mnt/guix
>
> I'm attaching the OS config I used.  Did I miss anything?

I think the problem is that you disabled tests in your 'guix-x86_64'
package, which makes it a different derivation than the one built by
Hydra.  In order for this approach to work, you must ensure that you
only use substitutes until you can run a guix-daemon (and guix?) for
x86_64.  guix-daemon for i686 can download substitutes for x86_64, but
cannot build anything for x86_64.

     Mark


> (define guix-x86_64
>   (package
>     (inherit guix)
>     (arguments `(#:system "x86_64-linux"
>                  #:tests? #f
>                  ,@(package-arguments guix)))))

  reply	other threads:[~2015-05-23 14:54 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-21 20:04 Initializing a 64bit system using guix on a 32bit OS Alex Kost
2015-05-22 13:28 ` Ludovic Courtès
2015-05-22 17:31   ` Mark H Weaver
2015-05-23  9:24     ` Alex Kost
2015-05-23 14:54       ` Mark H Weaver [this message]
2015-05-23 17:53         ` Alex Kost
2015-05-24 18:46   ` Alex Kost

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=87fv6nmjj5.fsf@netris.org \
    --to=mhw@netris.org \
    --cc=alezost@gmail.com \
    --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).