From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id eATWL1NkkGDe3QAAgWs5BA (envelope-from ) for ; Mon, 03 May 2021 23:00:03 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id YL+RK1NkkGDOYgAA1q6Kng (envelope-from ) for ; Mon, 03 May 2021 21:00:03 +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 C22CF30500 for ; Mon, 3 May 2021 23:00:02 +0200 (CEST) Received: from localhost ([::1]:41842 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ldffb-0006uo-Bv for larch@yhetil.org; Mon, 03 May 2021 16:59:59 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36636) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ldfck-00053d-Mo for guix-patches@gnu.org; Mon, 03 May 2021 16:57:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:37128) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ldfcj-0007F6-Rl for guix-patches@gnu.org; Mon, 03 May 2021 16:57:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ldfcj-0005GI-Qj for guix-patches@gnu.org; Mon, 03 May 2021 16:57:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#47989] [PATCH] channels: Add a #:system argument to channel-instances->manifest. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 03 May 2021 20:57:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47989 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Christopher Baines Cc: 47989@debbugs.gnu.org Received: via spool by 47989-submit@debbugs.gnu.org id=B47989.162007540420217 (code B ref 47989); Mon, 03 May 2021 20:57:01 +0000 Received: (at 47989) by debbugs.gnu.org; 3 May 2021 20:56:44 +0000 Received: from localhost ([127.0.0.1]:48672 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ldfcS-0005G1-3l for submit@debbugs.gnu.org; Mon, 03 May 2021 16:56:44 -0400 Received: from eggs.gnu.org ([209.51.188.92]:56486) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ldfcR-0005Fv-64 for 47989@debbugs.gnu.org; Mon, 03 May 2021 16:56:43 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:34413) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ldfcK-0006yg-DJ; Mon, 03 May 2021 16:56:37 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=54722 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1ldfcG-0004pV-J3; Mon, 03 May 2021 16:56:35 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <20210424081402.26742-1-mail@cbaines.net> Date: Mon, 03 May 2021 22:56:31 +0200 In-Reply-To: <20210424081402.26742-1-mail@cbaines.net> (Christopher Baines's message of "Sat, 24 Apr 2021 09:14:02 +0100") Message-ID: <877dkfv8n4.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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=1620075602; 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: content-transfer-encoding:content-transfer-encoding:resent-cc: 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=Otxk9yeJPKMNMcxmRksgAhZp6cJY2KcIYw85dJwVeok=; b=L/Gaq+flYCpGYLeMpoXHVAL6/k9wSisKKStHPWXfMBeG+Yb3DvT4El8OS2mfEBF0VVvjlq 6H6kcVQnj2g+Nl5t4Vy1Jb6fGrZtvMQWaGyy6VLgH1yQcoyUziYjLPa8shzM6+LTHgqjVX i1vCEmr5oJELX7ECicew+M0bCYMR9Ta3AIa1W0eHEI+EKPY8HMfeLt0oRuiIKWdYkrGnSv tJwlTCvMtIWprGnqF+HnfYCMXnwRdKOg5lYjrp2VUh0AX4Hq16dmNmEkyxhZhci6Gw+cd4 VATr5BUcA+PtcOufxGCGo7lKex+6mNZYj6Mq10++yzZ64EsDDA8aAQXlCRmkYg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1620075602; a=rsa-sha256; cv=none; b=K4KO/BXMD8/Z7aCtjONwQGAC1OuHCrFWxR2KtsFO0TZBS2wcj7CW8TwiaAm6tRP0gTm29I 4+5icHpjkjxWSBLhhSfVCVp7xDmijYOnaCyz9QJaKRh6WTKwqNECUkxpxXRVRUMs+w9ejt A70qjFdoRbM/NhZORXACAisoL3vawJbzpt5mrI3YmSYT4uSz0+s51LHPWSKJRAn0Vd/KBW FiZ4zbwCZZdjUSvk6XK+bE3QyYBQqwaK5v+vel1gZ4wxtLaQjScy4kr3PHaeUeIOAqD5vA uzII12RvBtrYODmkh/Ypht4lN8GqQp7aTrBXYnsvP3y2BfmzZp8SDtEq6cWY6Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; 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: -2.96 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; 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: C22CF30500 X-Spam-Score: -2.96 X-Migadu-Scanner: scn0.migadu.com X-TUID: O9YWlwmU2SKo Hi, Christopher Baines skribis: > This allows computing a manifest for a specific system. Previously this w= as > possible, but only through changing %current-system, which caused the > derivation to be computed using that system as well (so computing a deriv= ation > for aarch64-linux on x86_64-linux would require running aarch64-linux cod= e). I remember discussing it, but I wonder if I was confused. I think you can always do the equivalent of (say): guix time-machine -- build -s armhf-linux hello -d =E2=80=A6 where Guix itself is built natively but it then computes a deriva= tion for a different architecture. The equivalent code would be roughly: (let ((inferior (inferior-for-channels =E2=80=A6))) (inferior-package-derivation store (car (lookup-inferior-packages inferior "h= ello")) "armhf-linux")) Does that make sense? (You may also want to turn off grafts in the inferior.) Ludo=E2=80=99.