From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id AOddM8CXm2DmDQEAgWs5BA (envelope-from ) for ; Wed, 12 May 2021 10:54:24 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id MPUeL8CXm2BYfQAAB5/wlQ (envelope-from ) for ; Wed, 12 May 2021 08:54:24 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 8557525F4D for ; Wed, 12 May 2021 10:54:24 +0200 (CEST) Received: from localhost ([::1]:51172 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lgkdL-0003bO-GE for larch@yhetil.org; Wed, 12 May 2021 04:54:23 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42524) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lgkd2-00033Y-L2 for guix-patches@gnu.org; Wed, 12 May 2021 04:54:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:54850) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lgkd1-0001hB-42 for guix-patches@gnu.org; Wed, 12 May 2021 04:54:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lgkd1-0001oX-3d for guix-patches@gnu.org; Wed, 12 May 2021 04:54:03 -0400 Subject: bug#47989: [PATCH] channels: Add a #:system argument to channel-instances->manifest. Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-To: guix-patches@gnu.org Resent-Date: Wed, 12 May 2021 08:54:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 47989 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 47989-done@debbugs.gnu.org Mail-Followup-To: 47989@debbugs.gnu.org, mail@cbaines.net, mail@cbaines.net Received: via spool by 47989-done@debbugs.gnu.org id=D47989.16208095846868 (code D ref 47989); Wed, 12 May 2021 08:54:02 +0000 Received: (at 47989-done) by debbugs.gnu.org; 12 May 2021 08:53:04 +0000 Received: from localhost ([127.0.0.1]:38157 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lgkc4-0001mh-3S for submit@debbugs.gnu.org; Wed, 12 May 2021 04:53:04 -0400 Received: from mira.cbaines.net ([212.71.252.8]:33540) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lgkc2-0001mH-Fg for 47989-done@debbugs.gnu.org; Wed, 12 May 2021 04:53:03 -0400 Received: from localhost (unknown [IPv6:2a02:8010:68c1:0:8ac0:b4c7:f5c8:7caa]) by mira.cbaines.net (Postfix) with ESMTPSA id 6CCAE27BC81; Wed, 12 May 2021 09:53:01 +0100 (BST) Received: from capella (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id d1929990; Wed, 12 May 2021 08:53:01 +0000 (UTC) References: <20210424081402.26742-1-mail@cbaines.net> <20210505112419.14893-1-mail@cbaines.net> <87zgx13b65.fsf_-_@gnu.org> User-agent: mu4e 1.4.15; emacs 27.1 From: Christopher Baines In-reply-to: <87zgx13b65.fsf_-_@gnu.org> Date: Wed, 12 May 2021 09:52:58 +0100 Message-ID: <87k0o41ggl.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1620809664; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-to:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post; bh=GzKYNrsqsONEsInLDZA9eUYwJoRupz4G8o/HTZvVbXM=; b=JCZed2wMh87ArYuHCPtvFOW1rxh3OBSFMCJaAd152pmjZyMFp3kQXAVe5OvEJFku8JrZpc Oe8vIZb5DiFnkda0H5TLYbY1FetxbLm/+xCneXdPM4xj75j6yzVKevwdOwOqqalfoNCLMG msO83gdZjeDGDe301+SdjnaGVnmKLQiQiNBju9PqK7Kxg58mRlkebMytFP3b+cc4zjmsbp 1uFY049mEy/UBSrnb//R3kN51wiHfQqN5jfzdKJ/oVy+p+4uR6iLMVhmtg1wYhHgQNrvJv rFA2s8WRn3WKMxiR+UOaifX1CS4a782DP+Y17c0F71sRANHFsBtZS4Q9Ehdxzw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1620809664; a=rsa-sha256; cv=none; b=uLp+FPkcfYi9O4sUAn2NO+U8zQaLKTHrkhEFOfp8qATD+iRfxsIFc+GNaeUovOjYTV8ORW iIoNuY61cZMkOVntPQ0y8hifaoQZrc/muVXYU/lUPJlRQewNdaFtOLIjqx8N935f0kcI6j IFTuKJnZf089Hr3XgdCKwzmK4AWbu0TRVOYyS4yXCJmaSb4sC4vQ1Ik+mVNY8DIMAJzWd3 Jf/64UZFa45gK9vq8kRj2D4816Hbge3CKjlSAxPL3X+/IGQCP9kjfaFn9mhCmQGlLLCkpY X/OmEgqF/Tnv5xhe4Swyqr5VAuPCC6KSSZn+id1j5i/dj3lupjla38lTTWOclw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -4.55 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 8557525F4D X-Spam-Score: -4.55 X-Migadu-Scanner: scn0.migadu.com X-TUID: dk4YBP4wjwNc --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Ludovic Court=C3=A8s writes: > Christopher Baines skribis: > >> This allows computing a manifest for a specific system. Previously this = was >> possible, but only through changing %current-system, which caused the >> derivation to be computed using that system as well (so computing a deri= vation >> for aarch64-linux on x86_64-linux would require running aarch64-linux co= de). >> >> This new argument adds the possibility of computing derivations for non-= native >> systems, without having to run non-native code. >> >> I'm looking at this as it will enable the Guix Data Service to compute c= hannel >> instance derivations without relying on QEMU emulation for non-native >> systems (it should be faster as well). >> >> * guix/channels.scm (build-from-source): Add #:system argument and pass = to >> build. >> (build-channel-instance): Add system argument and pass to build-from-sou= rce. >> (channel-instance-derivations): Add #:system argument and pass to >> build-channel-instance, also rename system to current-system-value. >> (channel-instances->manifest): Add #:system argument and pass to >> channel-instance-derivations. > > LGTM! > > (Please double-check that =E2=80=98make as-derivation=E2=80=99 or =E2=80= =98guix pull --url=3D$PWD =E2=80=A6=E2=80=99 > work, in case we overlooked something.) Great, I've pushed this as 34985fb6ae7deffd40443766f5408649a0cbbff2 now. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKlBAEBCgCPFiEEPonu50WOcg2XVOCyXiijOwuE9XcFAmCbl2pfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcRHG1haWxAY2Jh aW5lcy5uZXQACgkQXiijOwuE9Xf2Kg/8CYyTzmHgP4149c4x4HyhzWVjh2+Yr6l8 tPlAl2c0052cT7CuS0mn4HBdUaVmqprGkBVirGaUdHqVMXb+f0zBS3e5rV5KfdHj z+xnRV9hEovw26936JKGuAaHpDJPZvnLF7eLnI4hH9n+DIE8NR4QJiiPpkccI4wl X2diftGBy0NY1F3JFoCrxLkK+WODSEzIt9uXCX+PECxwkXSJZFF+VG4DS13zmHto aei+T9JQwMqQfgnUv4FxKBdL05sbvlUCK/hler7rvHQPNs8Lf+jfoo3ZgmGKChj5 ebBedj531G5S4iYJx+7vjMrBKSMKJtSwpeeQyHBUWfIpQYyXEWQCxHGce3FV44Vy sLhh1sfd7jrtj+hpPaHBOuBttM0kxAgr0pKUHVVK3DpxyunzOI7gqvvzzFsZi57n HKRPh5+TswZTuubqYf08r6bzfT2kVEhS9k6QMUjuiZRAY0L2SZ6MstftV4WpSjpZ T5+nc3pMUmhLp7IuOskJv4NNgwE12yKJ1a927f5IQDcEkH7wfZRmrVOcRbbjx/RM 24ShOBf2pwHWQgVUHeWTuJ+Q0Bqi6QzidqEOLfzNQALmb7+JC5Pj4L8Z2vZrhgQ8 c+nhcWmjmaIMSeQBEoDjkIaNEsMyioe6HJsyvm7A/64eNnP9d3ARrMyijSSJaXTa 5wnVKkJi8pU= =ET3e -----END PGP SIGNATURE----- --=-=-=--