From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tobias Geerinckx-Rice Subject: Re: Build package for multiple platforms Date: Fri, 22 Mar 2019 18:29:36 +0100 Message-ID: <87tvfu7r7j.fsf@nckx> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([209.51.188.92]:59028) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h7OBT-0004OG-7J for help-guix@gnu.org; Fri, 22 Mar 2019 13:42:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h7NzE-0003AQ-FY for help-guix@gnu.org; Fri, 22 Mar 2019 13:29:45 -0400 Received: from tobias.gr ([2001:470:7405::1]:50390) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1h7NzD-0002cD-Gb for help-guix@gnu.org; Fri, 22 Mar 2019 13:29:44 -0400 In-reply-to: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: mikadoZero Cc: Help Guix mikadoZero, mikadoZero wrote: > (service qemu-binfmt-service-type > (qemu-binfmt-configuration > (platforms (lookup-qemu-platforms "arm" "aarch64" "ppc"=20 > "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=20 virtualization). I just use grep, but found out while researching this mail that we=20 provide a nice =E2=80=98guix system search=E2=80=99 command to find out whi= ch=20 module provides a service =CE=BB 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=20 binaries compiled for other architectures using QEMU and the=20 `binfmt_misc' functionality of the kernel Linux. relevance: 5 > The closest package I can find using `guix package -s` is proot=20 > but > adding the module linux and the package proot does not solve=20 > this error > message. Adding packages to your system configuration won't (and can't and=20 mustn't) affect services in this way. Kind regards, T G-R