From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id iAKIEO+UOWLaVwEAgWs5BA (envelope-from ) for ; Tue, 22 Mar 2022 10:20:47 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id AHkADu+UOWKbJgAA9RJhRA (envelope-from ) for ; Tue, 22 Mar 2022 10:20:47 +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 D95FAC2FC for ; Tue, 22 Mar 2022 10:20:46 +0100 (CET) Received: from localhost ([::1]:38300 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nWaGv-0001Y4-Va for larch@yhetil.org; Tue, 22 Mar 2022 04:53:45 -0400 Received: from eggs.gnu.org ([209.51.188.92]:37440) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nWaGB-0001XH-CO for help-guix@gnu.org; Tue, 22 Mar 2022 04:52:59 -0400 Received: from mout02.posteo.de ([185.67.36.66]:60231) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nWaG5-0007ZO-Jt for help-guix@gnu.org; Tue, 22 Mar 2022 04:52:59 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 6A65B240109 for ; Tue, 22 Mar 2022 09:52:39 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017; t=1647939159; bh=uhgn6sQlSNmrwzf3WI4f33FaoAyDv3/VF0x1ubwBAxo=; h=From:To:Cc:Subject:Date:From; b=YI5gCl68gp5OqQPevla7rfVBhQZO53B3+pL6PfsH5N6uvwKtZ8oWAQxKbicaddD7o yQ2v6qpVNk+EAY3rFs27YIwLuAyq8VqYDBprRthREq+gY+jqg5qLhcATyrRDWrRNeO XWkDXsx05OpU+dMBI3NFzrPYYIl9Zqyq673EQ1kU48HvqBOA0pqvmrqk5Yt4pSb6B9 G1rVU8wH0oqbFFgXyN8Ca9UT87++CyxvgCfnAwRlPT6UHL/A5rg0bVifMAdFPwCla7 a8OrvE/gNweFd0MW+xTkpsr8un+/MS9oPYDW8WwDXSZvf3NdTVuzngAZLXQ3oqFI5O 3pChvfTZYYvaA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4KN4xf43v6z6tmG; Tue, 22 Mar 2022 09:52:38 +0100 (CET) References: <87zgljx9yn.fsf@posteo.de> <858439E5-5340-49D8-B1F2-F51DEEF79FDE@tobias.gr> <87v8w6xwri.fsf@posteo.de> <87pmmequ4x.fsf@163.com> From: Mekeor Melire To: Feng Shu Subject: Re: How to replace %output with #$output? Date: Tue, 22 Mar 2022 08:51:10 +0000 In-reply-to: <87pmmequ4x.fsf@163.com> Message-ID: <87mthixtd3.fsf@posteo.de> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=mekeor@posteo.de; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: help-guix@gnu.org Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1647940846; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=5Bj9n6m/9YfKZpCSNBL7yklkC3yb3OLIXfWEjKlOXHk=; b=LCJhaaf83VY2UDhvlLaI9pdzcIYcR/rn9zzwY/ILHu0u732bwdXY0waMRmQOEpK1POmrGv wT58aydmA+qtHy62iHLCPnzd5Kyw4zPVSAw+0aGXFXZmby943bZqlO1VDA5g29xGN+Dgfv +049qY+NMIwPF6v3H4siav6NAmdM0jm93J9sgiX8h1bhgZr7TevZ23GZ4AtRri7Ar+nymc a8UoUVcfRjpQJSpDPnCknR+t418z4e3YjmATI9ZrYlobjuOzRonrL/0bvBVfLivh4eGnHW 0ZsEy603S4z3ekuRTGnRtpefnQ9nJ8St2dQd4AUZNRW0cRHeAJiNuIk6FbByQw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1647940846; a=rsa-sha256; cv=none; b=rDl1z9+BJZM9mxcN6m9svkbL+7aIiVNML8WtPbPQNY59LnpxDP9A2pRH9HZzt6BajCabGS Bu2YmyB/j09aqBsSoR/mrHw2VLJdzdx33a+d/gKWZTzMdFgJtsZu8Dfpu2exVjnH0oyGaC 6cMYCxpKsq2VllDP+KUQ3BOGhf/OaoH7wGBGIas5m4jH19LHFCSINkM6OBxUiHRW38QEf8 Lo81bDPbE4/Jp/AzbsBx/6uospbE/KjE0M93fmoPNED6UzaZdVq5aHoXt8as+HJ00vRH8o DYl7SUYoImwTBpIQAyUieAXqqEzD1nmvPkzwq+S+xK6W3v0p48Efl8LBwBCc0A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.de header.s=2017 header.b=YI5gCl68; dmarc=pass (policy=none) header.from=posteo.de; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.31 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.de header.s=2017 header.b=YI5gCl68; dmarc=pass (policy=none) header.from=posteo.de; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: D95FAC2FC X-Spam-Score: -3.31 X-Migadu-Scanner: scn0.migadu.com X-TUID: nOMXOUUrdkCY 2022-03-22 / 16:16 / tumashu@163.com: > Mekeor Melire writes: > >> 2022-03-21 / 21:57 / me@tobias.gr: >> >>> Remove the quote after arguments (replace it with a plain LIST call) and add #~ before (modify-phases ...) to define a gexp. >>> >>> Untested example: >>> >>> (arguments >>> (list #:tests? #f ; no tests >>> #:make-flags (list "CC=gcc") >>> #:phases >>> #~(modify-phases %standard-phases >>> (delete 'configure) >>> (add-after 'unpack 'patch-makefile >>> (lambda _ >>> (substitute* "Makefile" >>> (("/usr/local") >>> #$output))))))) >> >> With these changes I get this error: >> >> Wrong type to apply: "CC=gcc" > > What about #~(list "CC=gcc") or '(list "CC=gcc") ? It works. Thank you :)