From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id cN7tDoFm/WOJVAAAbAwnHQ (envelope-from ) for ; Tue, 28 Feb 2023 03:27:13 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id gL/PDoFm/WNOIwAAauVa8A (envelope-from ) for ; Tue, 28 Feb 2023 03:27:13 +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 D2A11149A6 for ; Tue, 28 Feb 2023 03:27:12 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=Zmkjhf19; 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=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1677551232; a=rsa-sha256; cv=none; b=EdUC3lmiyU5MThrR6c/R2mTww9VpccI0lTouxLb6I2r9tuE50DCAwaJ7DDMk7IMN0nV964 qhnBpAvU8ScXm0N3bJ+ToUKKvcLQiASkCbwhiQfmcAGLv9xvUTUvNwE5Lfdxr3PEjmkB5+ B8MDW31IV5OgbF3GWMmeRbibyIc1fptD1qtdOtF/kU3WG0+mCQlXc5Y1pUwui5xtw2KWwc 8YnOJG749MLAkOcokaqw+ZN98860u92UtSx03haXR8RaXEnELyLEeJJ8a4FbXyAYP8Augn pefk6g0VbGWX+buusRtCKn/RLHIk+NkNHz/0IC8OYaTXP8hbseNAONsCSR0PaQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=Zmkjhf19; 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=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1677551232; 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=tyDU6a1zaGIJd2zmWzV0tgzPWIsC2LLQqFD4Z/6V84k=; b=ltSs+U0E9Np3HB9+zqxzrXiNooO5dz1+COVuKbyQtF6jLDOn7p7krCv9QPxZqAU1+kfoDb tz8OUTXgVzFVg5dcelKfGZ8um71vL997l9MZcVxjsWHXlaLICafpeUK3EtCwZgUeILVUSL 8t4Okl0xmV/rDX6HHH9iSVuu2b2h1torRXPHpq5mdFnSi4TTal6R+fEy/CI7BCTdAxbgqt m/9kEGOdFAWbHfUADhL81AO7qnD31Xmf0ShObNNrTfVQoKfU/c3hBw93OknkIW/9i9hRkX 5s4CqGIJ0feSQBkViIBQ3mslyi4N4nTFzla3G3yB3bYzy6Gw7iIRSQp7OBBSUQ== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pWphp-0004B0-SV; Mon, 27 Feb 2023 21:27:05 -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 1pWphn-0004Ac-2g for bug-guix@gnu.org; Mon, 27 Feb 2023 21:27:03 -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 1pWphm-0005nN-8S for bug-guix@gnu.org; Mon, 27 Feb 2023 21:27:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pWphl-0003Z9-VS for bug-guix@gnu.org; Mon, 27 Feb 2023 21:27:01 -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: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 28 Feb 2023 02:27:01 +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: Ludovic =?UTF-8?Q?Court=C3=A8s?= 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.167755116213620 (code B ref 61841); Tue, 28 Feb 2023 02:27:01 +0000 Received: (at 61841) by debbugs.gnu.org; 28 Feb 2023 02:26:02 +0000 Received: from localhost ([127.0.0.1]:49403 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pWpgn-0003Xa-SU for submit@debbugs.gnu.org; Mon, 27 Feb 2023 21:26:02 -0500 Received: from mail-qv1-f49.google.com ([209.85.219.49]:46982) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pWpgm-0003X4-3Z; Mon, 27 Feb 2023 21:26:00 -0500 Received: by mail-qv1-f49.google.com with SMTP id f1so5891532qvx.13; Mon, 27 Feb 2023 18:26:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to; bh=tyDU6a1zaGIJd2zmWzV0tgzPWIsC2LLQqFD4Z/6V84k=; b=Zmkjhf19+Eugd29F7Shxy0vDGak7A7GfS1g7p8MsnnUnJ3kQ0dNQl3csMhUXG5UEp/ j8HbZd41+Ek1wKZq6veMqpa5FlyvF4ksAwtMAiekjaNUA9/3PhFWKsDRY92jjbXuo1Qk Ly9SIizSjgExofa8tz1O0ITLeETFda09HT4cU07VwsDGAwKJ53nxgSpB8QEmRmf+52u/ jDnU5Lhr21gg46Kj6TNtsRDljVgzoGIbpyY1JCkk6ffeR4S2fvcbA1lQx3qGIBlIzHr9 /gANBH5dnedQt4FUtNIh44xNV0FYRYqFls0ckxFTD2qY43ibaAAzDOR+0KDhhiTHcT79 Wbuw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=tyDU6a1zaGIJd2zmWzV0tgzPWIsC2LLQqFD4Z/6V84k=; b=G9nh0D0ttyNdFOtqFv6Z8vKT36PzoT0crAs/LFT4yfV3yWkbVBjBTXg1qvfZToNP80 3rxuQkJZGdBovZmeyN8Iifjh1Z9UsyKmEwZ5rpCVcOV0mskvqse1lSjKPTBfegzTUJ00 /VyVL2BRhygPaTRKu6uyD7yXzuA4nbWOqThSE0UmdgFQ42Z2jExV2mqnp+6VO/bfXPri 3O8NdRSS73QxxrvewvpDWibbv4hYj9uWOhym3rN7YFo3W1GTOCwCPQH5NSznL4IjQTmY ggUCtVPXxLNTlySf/L75AuZ8gdRp/0VwWu0uzEhRGllhF/jYGGNTuDKctLo4rNgltD4J enTg== X-Gm-Message-State: AO0yUKV1xRKLK8b5Uts99tzl+H3gLPHgE6EMUTrH8Tm19RYiv8x/VvNh HBV0SZbcnF+AJJZ0pQ+uyvloE5KHZxq6MgbL X-Google-Smtp-Source: AK7set+PdsOie5/B3AJwZ3oU2SjxQiZHtZfgbInNzh12vxZ41km2mBCZKxSiGhZBCEEUlc3SQa2MYg== X-Received: by 2002:a05:6214:d6c:b0:535:5492:b427 with SMTP id 12-20020a0562140d6c00b005355492b427mr3346888qvs.28.1677551154202; Mon, 27 Feb 2023 18:25:54 -0800 (PST) Received: from hurd (dsl-156-86.b2b2c.ca. [66.158.156.86]) by smtp.gmail.com with ESMTPSA id q190-20020a3743c7000000b00742a23cada8sm3731941qka.131.2023.02.27.18.25.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Feb 2023 18:25:53 -0800 (PST) From: Maxim Cournoyer 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> <87r0uahl4a.fsf_-_@gnu.org> Date: Mon, 27 Feb 2023 21:25:52 -0500 In-Reply-To: <87r0uahl4a.fsf_-_@gnu.org> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Mon, 27 Feb 2023 22:08:37 +0100") Message-ID: <87r0uaikzz.fsf@gmail.com> 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: D2A11149A6 X-Spam-Score: -1.39 X-Migadu-Spam-Score: -1.39 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: RSYLOZsDya67 Hi Ludo, Ludovic Court=C3=A8s writes: > 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 kno= w 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. I see, it's starting to make sense. I'll sleep on it :-). --=20 Thanks, Maxim