From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id GP8SHKHwOGLSpQAAgWs5BA (envelope-from ) for ; Mon, 21 Mar 2022 22:39:45 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id yOIdGaHwOGKjFAEA9RJhRA (envelope-from ) for ; Mon, 21 Mar 2022 22:39:45 +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 0C6DE3B6EF for ; Mon, 21 Mar 2022 22:39:45 +0100 (CET) Received: from localhost ([::1]:48540 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nWPke-0004PF-5z for larch@yhetil.org; Mon, 21 Mar 2022 17:39:44 -0400 Received: from eggs.gnu.org ([209.51.188.92]:54398) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nWPkS-0004P2-Sb for help-guix@gnu.org; Mon, 21 Mar 2022 17:39:32 -0400 Received: from mout01.posteo.de ([185.67.36.65]:38899) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nWPkQ-0005oY-Il for help-guix@gnu.org; Mon, 21 Mar 2022 17:39:32 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 73E65240026 for ; Mon, 21 Mar 2022 22:39:28 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017; t=1647898768; bh=xS/eVBiiX0umF8Pu9KsWj75JS3b7X7nEQftyF7qqyOM=; h=From:To:Subject:Date:From; b=M4oRGbGOcCquGesdQwtCRT9ZgIODPxA77m0ic7a4qSuQUs2gasllhivtfQLg3fMnm xaRXeFz03cdTkV37AHhSXS9nphb9M122C012QVVQQZDGXQiGpXEVwI84CjLIS9GTxe uQxuw+F5y3SJnBbIPxAT8ZQ/uLAHAU+h/M6kjxKMM2BeDxSzob8oSwYwCHLijR8Dqv dFXThm4DynNvZXnH4XnZ+SxAxsRHRfSDEG2B7xR80Dbcq8P8FQiBj4K/SSmBmpz3U+ e9B6x8/WcvN2OJeHPGep5kKc6e55whLvRcl9oqnKfLl96WafOTdjNsLSe5oseRAXe3 5F1tue6dFsBKA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4KMp0v4s1jz9rxB; Mon, 21 Mar 2022 22:39:27 +0100 (CET) From: Mekeor Melire To: help-guix@gnu.org Subject: How to replace %output with #$output? Date: Mon, 21 Mar 2022 21:31:24 +0000 Message-ID: <87zgljx9yn.fsf@posteo.de> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.65; envelope-from=mekeor@posteo.de; helo=mout01.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: , 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=1647898785; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=GBx49ThDb5llWSEsKvAozcdpVpPCYvXTq2/kIUOHYpY=; b=WKpNV4q0P9sHK1qBUCoECEnEk8cHG4n0GxuKz6vQuvoLLAyZ6LmCSJzkoJJwb92qJ7qzQH o7mGLD7j6cCmrm+EW3WDLEYsNHRBy1EndUsAhbhEVYmmW4uG0eRRvOH5mowUmkRlIppYW1 BP4WRNuI/tl/3+wO3siHRmPT7qNK7zeCRoPLb46lfnvQ7pdP9f/qnmF5cNqywZgsSk5K6F I60GZkHL86nzQrby3Tidaiu6bU+piGEmC33Nhg3V2cnYUHzXn/HfIn2azQFiVVvwEvkOOa E9OVoVfK5w9rAZAr4ceb2/2aUa6G5P7BaVc5cKtsZ+Wf6njQO58eN0qo3Aktsg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1647898785; a=rsa-sha256; cv=none; b=RYcMjSvq/oGJKq7J+0GSdm9bqlK8GQccI6WcEFs1VicZvtyKq8snYoptDFJhYyUT5KfCao l7uyPRAP6A67N+VPIvVBIkl4wfMNIM9k3prELLMXLzhqzs+FOmeaudHmfkKBa8o7gaJZ9i XCoDybok2NVG8DltnZlt5/ONPf6ojpX5BiKMkYQ5PLOuLmi08P2WhBMyDDu0Y+aocV4AiY qnZJDeLOMXMMRHSUfLdxbabT00EHx10Y5CSt1w9xbSOwXA5rRexKz9//8Hov3Z67nzRbXO obNK8epIVM0/7GbrkHceN+Z3+uIu2J+Vl2GhlGPqcaqc0F6kgkUMROdsxwUwqQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.de header.s=2017 header.b=M4oRGbGO; 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=M4oRGbGO; 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: 0C6DE3B6EF X-Spam-Score: -3.31 X-Migadu-Scanner: scn1.migadu.com X-TUID: SkIK/s+OjGoj In the IRC-channel, I was told that the undocumented, magic %output variable is deprecated. Instead, I should use #$output. But I couldn't get this done. I always ran into strange errors. How should I change the following snippet? --8<---------------cut here---------------start------------->8--- (arguments '( #: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))))))) --8<---------------cut here---------------end--------------->8--- The whole file is available here: http://ix.io/3T71/scm