From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id SBSgHPhFUWcLWQEAqHPOHw:P1 (envelope-from ) for ; Thu, 05 Dec 2024 06:19:36 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id SBSgHPhFUWcLWQEAqHPOHw (envelope-from ) for ; Thu, 05 Dec 2024 07:19:36 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=protonmail.com header.s=protonmail3 header.b=sRKsHD96; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1733379576; a=rsa-sha256; cv=none; b=jdPnpzGiNjy24BJOif01UqaXoJJuXkdvDTbTKWbX52OPSynZPYkQ2wkXg7IoXUueXHg7yt bvcZKuCefHmFsqhKgeHCDPYLgPGJSHryJn767qvdpXnz8udXCLhq5OgqUAHyYlbBro8eCc jSNQisnhBljXeUyaq/lg7Kfe2uTb1Ezog4FpLnijEDhCabWa3sRxQPUSGW3dwxniRPD5us SWnHbvawVtWWhtubX+l6yEUQUKPtCbpUoToxnu9o0wTvPz8933c44WvW7/DUBVLUjYg3Xy MJ70rAgdr29GnUvZJrrg/5h7TN/xD1OviHvdJO18boJ61ru8AC1iX3/XHFsJjQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=protonmail.com header.s=protonmail3 header.b=sRKsHD96; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1733379576; h=from:from:sender:sender:reply-to: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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=pPDhNoGbaQWMxX7AIkRBaM7FuTIf2qkvZBmS+ciVZOY=; b=rrWxBHOrPyXITWtGX6VlqFnLf9XZDMYgsmLoBWa3Oe2wYNlt3VLQJKZ/vbRMJ8r7hFtUfs X1S9d6kcNydh+TTMYin4ZNfNU8W2VzZIb0ItkXyFRLlOSy1VwdvsfCoihgtt6FibacnILJ IduXh3voHOtRlpxAM2QjGhISdLFw+5ZJ+bJd+s1CAtru9qnf+U4n/El8Ot3m3rkwoXxVl3 r2k/HS9N7wEzKBR5KqLVUM6a8OoUrsTEy+3+Ry3EQCupOEpaB24mXAWXl7H8T9NiklrRFY SgmKw5f6Z0d4suoukaEggAXrMBrEs4/Bp40E4fCRwBG8gorfZnnaEUzQQhFjMg== 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 59F5B64C41 for ; Thu, 05 Dec 2024 07:19:36 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tJ5Cb-00010N-AH; Thu, 05 Dec 2024 01:19: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 1tJ5CZ-000100-RF for guix-devel@gnu.org; Thu, 05 Dec 2024 01:19:03 -0500 Received: from mail-4322.protonmail.ch ([185.70.43.22]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tJ5CX-0001DR-RB for guix-devel@gnu.org; Thu, 05 Dec 2024 01:19:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1733379530; x=1733638730; bh=pPDhNoGbaQWMxX7AIkRBaM7FuTIf2qkvZBmS+ciVZOY=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector:List-Unsubscribe:List-Unsubscribe-Post; b=sRKsHD968eor1SbZ+kMua9iDzI5ptcPvq5UdwhoPdP/E5AIf4ut7N3aaJjpnSpMjX XCJX0u686hwr13rEx2e2EUZuvrumbxHFDC22kuI1N6XTwK3bJM834Va0OilAHIoQmU sZDx6feIy5FHLM83OBRVhQk/e+s3rVwM5kgff/Xe48eBLN8lIeA2faxvrTYqide+FY RX4pvJAM0UlbkW9TCcxcs5o5UDGXXT+tzeUZ+lvEZjjdZWvd4fiayjKNqdq1vLYBLD Uvn7uTTrPjIP6UTBBD18UszwGTgnV6mvq1jiSA1xdtxm0wu1pcs+mT8xo/kHIAo0n2 UWFw6TxDzBS/Q== Date: Thu, 05 Dec 2024 06:18:46 +0000 To: Rutherther Cc: guix-devel@gnu.org Subject: Re: [PATCH 0/1] qt-build-system: Wrap with build variables to allow %outputs in arguments Message-ID: <87ed2m8xfh.fsf@protonmail.com> In-Reply-To: References: Feedback-ID: 7805494:user:proton X-Pm-Message-ID: a1c5745dd1d15db149aa192f92f592ab86306a5b MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.43.22; envelope-from=john.kehayias@protonmail.com; helo=mail-4322.protonmail.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: John Kehayias From: John Kehayias via "Development of GNU Guix and the GNU System distribution." Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: 0.35 X-Spam-Score: 0.35 X-Migadu-Queue-Id: 59F5B64C41 X-Migadu-Scanner: mx12.migadu.com X-TUID: eqXac7Wr3qC5 Hi Rutherther, On Wed, Dec 04, 2024 at 11:17 PM, Rutherther wrote: > It is impossible to refer to %outputs in arguments like #:configure-flags > (ie. `(assoc-ref %outputs "out")` leads to unbound-variable %outputs). You should be able to use gexps, e.g. #$output (see for more details). That is actually the preferred way now, though there are still instances of assoc-ref. I believe the commit in question is . > I think the issue is in qt using different system than build systems such > as cmake or gnu. Since I am unsure about the reason for qt not having > the same structure, I am submitting this to guix devel for discussion, > as well as opening a patch in case this is fine to be merged. If not, > could someone please explain what the reason behind not adding > inputs and outputs is, and what is the alternative? > Though perhaps you are getting at that you'd expect the older way to still work? Perhaps qt-build purposefully left the older procedure behind as it should have much fewer dependents (which may rely on the old assoc-ref)? Hope that helps! The short of it is to use gexps :) John