all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Tobias Geerinckx-Rice <me@tobias.gr>
To: mikadoZero <mikadozero@yandex.com>
Cc: Help Guix <help-guix@gnu.org>
Subject: Re: Build package for multiple platforms
Date: Fri, 22 Mar 2019 18:29:36 +0100	[thread overview]
Message-ID: <87tvfu7r7j.fsf@nckx> (raw)
In-Reply-To: <cucef6ykfan.fsf@yandex.com>

mikadoZero,

mikadoZero wrote:
> (service qemu-binfmt-service-type
>  (qemu-binfmt-configuration
>    (platforms (lookup-qemu-platforms "arm" "aarch64" "ppc" 
>    "mips64el"))
>    (guix-support? #t)))
>
> When I try to do a system reconfigure I get this error:
>
> error: qemu-binfmt-service-type: unbound variable
> hint: Did you forget a `use-modules' form?

qemu-binfmt-service-type is defined in (gnu services 
virtualization).

I just use grep, but found out while researching this mail that we 
provide a nice ‘guix system search’ command to find out which 
module provides a service

  λ guix system search qemu
  name: qemu-binfmt
  location: gnu/services/virtualization.scm:745:2
  extends: file-systems shepherd-root guix
  shepherdnames: qemu-binfmt
  description: This service supports transparent emulation of 
  binaries compiled for other architectures using QEMU and the 
  `binfmt_misc' functionality of the kernel Linux.
  relevance: 5

> The closest package I can find using `guix package -s` is proot 
> but
> adding the module linux and the package proot does not solve 
> this error
> message.

Adding packages to your system configuration won't (and can't and 
mustn't) affect services in this way.

Kind regards,

T G-R

  reply	other threads:[~2019-03-22 17:42 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-22 17:08 Build package for multiple platforms mikadoZero
2019-03-22 17:29 ` Tobias Geerinckx-Rice [this message]
2019-03-22 23:20   ` mikadoZero
2019-03-24 17:29     ` Efraim Flashner
2019-03-24 18:10       ` mikadoZero

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=87tvfu7r7j.fsf@nckx \
    --to=me@tobias.gr \
    --cc=help-guix@gnu.org \
    --cc=mikadozero@yandex.com \
    /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.