From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id mP6EKvQb/WO1zAAAbAwnHQ (envelope-from ) for ; Mon, 27 Feb 2023 22:09:08 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id UDSEKfQb/WOD0gAAG6o9tA (envelope-from ) for ; Mon, 27 Feb 2023 22:09:08 +0100 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 60F0D28309 for ; Mon, 27 Feb 2023 22:09:08 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=RFsjXLoh; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1677532148; a=rsa-sha256; cv=none; b=W6UBOonHEsDLX9dnyKZJuyHEIpDxY87GbY/lPD/NBCUzT4yMsOO0HHo4Ik3gkUcbEVb2YH sl5mlPeyaZEo7m/eiKhDatqWZ6b+7AJuARdlOK5DW4dhVUrNaTm4kcttdSA91Y632UWrv5 qFHH/QiaZe8qA4fP6n8HaTMWKiCcyvPooaefpO1lou+hq4feIRxJbFxzoB4DEj/rB28t6x cxyEM+MrzdmX1V7PKD88o1xrLSePLUNO257a2L3f9Z8dPVmwBW5mozpDT5MB85jktADLhx fZAYU5GWIu19nmr6xvnEVYsKRp8RBe8DqLVS1kz7HTmwm/qGyjqgTcwLxe1XNw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=RFsjXLoh; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1677532148; 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:dkim-signature; bh=zrptTSTnGSukJor6J5Bo6ZIFpgHrvvrjo8ueB2Kjodw=; b=bKGsc8qddxneyy/ZWZ13RyiBgA9B8cwVgzbb0Cv2CKEPnQANwdIldCk7ZN7eQvgtouVxeF y8t3JD5ToCgOsYiCPL0nt+7iUR8zyoHREwnpmhPEQo2ILBkk5Wd+K7AQwmQBs7lJwKY345 ri6caVByoMwXEbioH8A1JDjZ+Gmt68LdQh6HjMvO1YukLG/aLB+vxsLHGhpd5HMJH9t8OR jYRfHOfXzsJMUIiWOzGBk7hKxm+RRPhRs9at6mGoxAGZbXXVincOPatgLczYS/ML/XLuqi WNpCXi+OmuktqVcjAfQvRE1/BeeZ+cPrdFt2rUunmjYdGBxC5ECFXEKq/iHCEA== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pWkk4-0004XH-Mv; Mon, 27 Feb 2023 16:09:04 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pWkk2-0004V8-Mf for bug-guix@gnu.org; Mon, 27 Feb 2023 16:09:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pWkk2-0007Cw-ER for bug-guix@gnu.org; Mon, 27 Feb 2023 16:09:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pWkk2-0003Rc-AU for bug-guix@gnu.org; Mon, 27 Feb 2023 16:09:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#61841: =?UTF-8?Q?=E2=80=98guix_?= =?UTF-8?Q?shell=E2=80=99?= computes different package derivation than =?UTF-8?Q?=E2=80=98guix_?= =?UTF-8?Q?build=E2=80=99?= Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 27 Feb 2023 21:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61841 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Maxim Cournoyer Cc: Josselin Poiret , Christopher Baines , Simon Tournier , Mathieu Othacehe , Tobias Geerinckx-Rice , Ricardo Wurmus , 61255@debbugs.gnu.org, 61841@debbugs.gnu.org Received: via spool by 61841-submit@debbugs.gnu.org id=B61841.167753213113198 (code B ref 61841); Mon, 27 Feb 2023 21:09:02 +0000 Received: (at 61841) by debbugs.gnu.org; 27 Feb 2023 21:08:51 +0000 Received: from localhost ([127.0.0.1]:48961 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pWkjr-0003Qn-G9 for submit@debbugs.gnu.org; Mon, 27 Feb 2023 16:08:51 -0500 Received: from eggs.gnu.org ([209.51.188.92]:36374) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pWkjo-0003QT-LS; Mon, 27 Feb 2023 16:08:49 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pWkjg-00076w-PM; Mon, 27 Feb 2023 16:08:40 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=zrptTSTnGSukJor6J5Bo6ZIFpgHrvvrjo8ueB2Kjodw=; b=RFsjXLohKHeDfIBteBj+ zTCnerXksdpomcB1OoRdN/i5A8kzJGFtuEYCxEy9MKXp7UWiIie9MKazTa4Dnyp8p4Dq2OgfRVhyt z/6D6xIhF8lbp3zw0QW4PQ3vjxg7+qLEt7mwX7yP0VgacP6lyTxn+dEN85iAQb+kNG8YOTkrcNI15 X/Nv8sAnO48VJvIrQe91IjqoCCa53NRSlE5GL3s5zOTIQHqG7N+kt17ky494bYTZ7/k+y9czwzg04 LNLZCRsjfW26qln5kuMlGtSDUWbm5BsqAPwwD9spM1WhrIpT42lF8hZ2evZtSC7WuF/uUeAEVPBA+ 2Oo1lUZ2h7kRGQ==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201] helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pWkjg-00044J-8u; Mon, 27 Feb 2023 16:08:40 -0500 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <20230203221409.15886-2-maxim.cournoyer@gmail.com> <20230203221409.15886-3-maxim.cournoyer@gmail.com> <877cwyw7yc.fsf@gnu.org> <87h6w2p02y.fsf@gmail.com> <87a61ilpi6.fsf_-_@gnu.org> <87fsb5wso1.fsf@gmail.com> <877cw85qtq.fsf_-_@gnu.org> <87k003i1pu.fsf_-_@gnu.org> <87bklfkqmb.fsf@gmail.com> Date: Mon, 27 Feb 2023 22:08:37 +0100 In-Reply-To: <87bklfkqmb.fsf@gmail.com> (Maxim Cournoyer's message of "Mon, 27 Feb 2023 11:41:32 -0500") Message-ID: <87r0uahl4a.fsf_-_@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.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: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: X-Migadu-Queue-Id: 60F0D28309 X-Spam-Score: -1.89 X-Migadu-Spam-Score: -1.89 X-Migadu-Scanner: scn0.migadu.com List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-TUID: 850eeageGqgw Maxim Cournoyer skribis: > Ludovic Court=C3=A8s writes: [...] >> Commit 68775338a510f84e63657ab09242d79e726fa457 turned out to have >> unintended side effects: >> >> https://issues.guix.gnu.org/61841 > > Ugh. > >> I fixed it with: >> >> a516a0ba93 gexp: computed-file: Do not honor %guile-for-build. >> fee1d08f0d pack: Make sure tests can run without a world rebuild. >> >> Please take a look. > > Thank you. I still think it'd be nicer if computed-file had a means to > honor %guile-for-build rather than having to accommodate it specially as > you did in fee1d08f0d, so that it'd be symmetrical to gexp->derivation > in that regard. Why can't they? Like I wrote, =E2=80=98default-guile=E2=80=99 returns a package whereas =E2=80=98%guile-for-build=E2=80=99 returns a derivation. The latter is inherently lower-level: it=E2=80=99s used together with the monadic interface or with plain =E2=80=98derivation=E2=80=99, when we know = which system we=E2=80=99re targeting. The former is higher-level, system-independent; it must be used for and similar forms, which are system-independent. Ludo=E2=80=99.