guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Initializing a 64bit system using guix on a 32bit OS


From: Mark H Weaver
Subject: Re: Initializing a 64bit system using guix on a 32bit OS
Date: Sat, 23 May 2015 10:54:22 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Alex Kost <address@hidden> 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 via email to

[Prev in Thread] Current Thread [Next in Thread]