From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 Wd+RHvqw3WP1fAEAbAwnHQ (envelope-from ) for ; Sat, 04 Feb 2023 02:12:26 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id oKygHPqw3WOrmgAA9RJhRA (envelope-from ) for ; Sat, 04 Feb 2023 02:12:26 +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 C7AF5289F9 for ; Sat, 4 Feb 2023 02:12:25 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pO76D-0005VA-DM; Fri, 03 Feb 2023 20:12:14 -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 1pO765-0005SY-AP for guix-patches@gnu.org; Fri, 03 Feb 2023 20:12:06 -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 1pO762-0005II-MI for guix-patches@gnu.org; Fri, 03 Feb 2023 20:12:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pO762-0003WL-5p for guix-patches@gnu.org; Fri, 03 Feb 2023 20:12:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#61255] [PATCH 2/5] gexp: computed-file: Honor %guile-for-build. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 04 Feb 2023 01:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61255 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Maxim Cournoyer Cc: Josselin Poiret , Tobias Geerinckx-Rice , Simon Tournier , Mathieu Othacehe , Christopher Baines , Ricardo Wurmus , 61255@debbugs.gnu.org Received: via spool by 61255-submit@debbugs.gnu.org id=B61255.167547310313503 (code B ref 61255); Sat, 04 Feb 2023 01:12:02 +0000 Received: (at 61255) by debbugs.gnu.org; 4 Feb 2023 01:11:43 +0000 Received: from localhost ([127.0.0.1]:40236 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pO75i-0003Vj-VM for submit@debbugs.gnu.org; Fri, 03 Feb 2023 20:11:43 -0500 Received: from eggs.gnu.org ([209.51.188.92]:34958) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pO75c-0003VQ-Sj for 61255@debbugs.gnu.org; Fri, 03 Feb 2023 20:11:40 -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 1pO75W-00059e-4q; Fri, 03 Feb 2023 20:11:30 -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=ehlRDDXFwj8neZEgnGM1Z7MsnnFXss853SeWbOE2UpM=; b=sCG25QbxZlE0Z/yYaIFj w+/uPP3p6rUw8odq5IHOD6PmTOXCybT+vvq6K8R4YxBWqO/6/Bk0o5A0TX6dZIcb6zen85kgx8B6X edhllHckCSOd1IvY7PUdTDe2i/wc09iX65yhgIdafKZjIgodQmdHDWacNet6cfQg65hQb7NWadutL M4js0G1DX4vWBOcWDA2N9q8Xk3tt00qgcfQNcE1BI9FUk5u649jEMOxira71qFC7KhrTJLr87CaY8 vCNzjtcnJIXPAGfJKKKUUpyMY8LDZU+Hb8x+ui5AZ4J6XY7Y3Ctn4HW+90uvUnXG+5KJIx4w4ZnL/ 7cbn0BQ4KdiGEw==; Received: from dd458ef22.static.telenet.be ([212.88.239.34] helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pO75V-000648-Bv; Fri, 03 Feb 2023 20:11:29 -0500 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <20230203221409.15886-2-maxim.cournoyer@gmail.com> <20230203221409.15886-3-maxim.cournoyer@gmail.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Sextidi 16 =?UTF-8?Q?Pluvi=C3=B4se?= an 231 de la =?UTF-8?Q?R=C3=A9volution,?= jour du Buis X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Sat, 04 Feb 2023 02:11:23 +0100 In-Reply-To: <20230203221409.15886-3-maxim.cournoyer@gmail.com> (Maxim Cournoyer's message of "Fri, 3 Feb 2023 17:14:05 -0500") Message-ID: <877cwyw7yc.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: 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1675473146; 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=ehlRDDXFwj8neZEgnGM1Z7MsnnFXss853SeWbOE2UpM=; b=OqshoJzlJffAWwY6/jt5ldMTr+Tl/8FWCJ0prfKKpV/BJQB60+/20M2Jl8E+7K0nRZQ/YE jt4XBK/2/RmyA6TsaG2hr3+yKdUZUOtfgp55dkwVXFgoc+4KQDUFmEpxyql8V057V6Pir0 4Lyeg638AwJsy0SBq1UrbsCzO4FmBtNqWZ6Z19nwkcXf0sojvlbiiRNRGj0olp9nGCne3M 8QQxVFnWGC4kgyJspIlQROM6uxxutT4yGbYkGid//SrPJK4jf8kk8IJ0xXMEG6zguN3oqP 3sHwdvrSFlGYtaSKqMRESZOw1v/2yPqWMxTuYmBpfk9NvANBe8lwwHmhCK7tRQ== 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=sCG25Qbx; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1675473146; a=rsa-sha256; cv=none; b=S4cS4C4Ap1t1a2y/jHwKKjck3MWusZmONv11ccNto7G3USsKmU6slMkKfBAhvKEE4mAGAM DXc6qg8H+5WpuBwXVAcxFzDyEymuBDYCD1wi/jn5mUB9n/QzRTf+/0tuXMmD1vyP3Deuds kZ56+q3gT0wQFiiOtYmuw7p2DB1nmDQgNuT7DVRVP3Nc9TpMowzzAlxMM3K3vG9kzKj4Sd TRcr+ohnoaGSA5pIP7PKaiwNCipF3zlFcp9oHgig7iX5jhR407gy0tfN1fv56k3Pi/Y49t 7RXJgcmxD/OmsTnfZicUfXsRgdj9ozINWvOXzzlvVTQQxkOgQLEZJug8WyMeSQ== X-Migadu-Spam-Score: -2.48 X-Spam-Score: -2.48 X-Migadu-Queue-Id: C7AF5289F9 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=sCG25Qbx; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org X-Migadu-Scanner: scn1.migadu.com X-TUID: QBAUbiKoRsvh Hello! Maxim Cournoyer skribis: > * guix/gexp.scm (computed-file): Set the default value of the #:guile arg= ument > to that of the %guile-for-build parameter. [...] > (define* (computed-file name gexp > - #:key guile (local-build? #t) (options '())) > + #:key (guile (%guile-for-build)) > + (local-build? #t) (options '())) I think that would lead =E2=80=98computed-file=E2=80=99 to pick (%guile-for= -build) at the wrong time (time of call instead of time of lowering). Commit ab25eb7caaf5571cc9f8d6397a1eae127d7e29d1 made it #f such that =E2=80=98gexp->derivation=E2=80=99 gets to resolve it at the =E2=80=9Cright= =E2=80=9D time. Does that make sense? But perhaps this approach isn=E2=80=99t suitable in = the use case you=E2=80=99re looking at? HTH, Ludo=E2=80=99.