Alex Kost <alez...@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 via email to