From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id WCR+CiG3dWQKwwAASxT56A (envelope-from ) for ; Tue, 30 May 2023 10:43:13 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id YJOUCSG3dWSSfQEAG6o9tA (envelope-from ) for ; Tue, 30 May 2023 10:43:13 +0200 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 6A5BD26112 for ; Tue, 30 May 2023 10:43:12 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q3uwV-00034i-FK; Tue, 30 May 2023 04:42:59 -0400 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 1q3sAL-0000bU-K3 for guix-patches@gnu.org; Tue, 30 May 2023 01:45:09 -0400 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 1q3sAJ-0007J8-FX for guix-patches@gnu.org; Tue, 30 May 2023 01:45:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q3sAJ-0000K5-Au for guix-patches@gnu.org; Tue, 30 May 2023 01:45:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#63798] [PATCH] Fix Erlang package substitutions Resent-From: wrobell Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 30 May 2023 05:45:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 63798 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 63798@debbugs.gnu.org Cc: wrobell X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16854255001197 (code B ref -1); Tue, 30 May 2023 05:45:03 +0000 Received: (at submit) by debbugs.gnu.org; 30 May 2023 05:45:00 +0000 Received: from localhost ([127.0.0.1]:59858 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q3sAF-0000JE-4m for submit@debbugs.gnu.org; Tue, 30 May 2023 01:45:00 -0400 Received: from lists.gnu.org ([209.51.188.17]:49776) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q3lGE-0002Mz-H8 for submit@debbugs.gnu.org; Mon, 29 May 2023 18:22:43 -0400 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 1q3lGE-0003nA-AN for guix-patches@gnu.org; Mon, 29 May 2023 18:22:42 -0400 Received: from mx1.riseup.net ([198.252.153.129]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q3lGB-0008FL-DK for guix-patches@gnu.org; Mon, 29 May 2023 18:22:41 -0400 Received: from fews02-sea.riseup.net (fews02-sea-pn.riseup.net [10.0.1.112]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx1.riseup.net (Postfix) with ESMTPS id 4QVVQN6cW9zDqY4 for ; Mon, 29 May 2023 22:22:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1685398956; bh=ZdyHh6bLNrUPEu8ZJ4D9PPFeaeoTg9QHs3RJFddiR60=; h=From:To:Cc:Subject:Date:From; b=Y0A7pbU3oMQFSyWjhwCU9TSYCJ9pQuscICnt8AzPZ1zXByprsaLA6xsQTtVmI5wJy pH5TcwZ7xz0fg7IFVcCAaIJNxpWyXBsQIWyxwOOaYIHEfAgPWcvr/2gfwF7ARYAwn9 k8PjhQEP9r9BQemOmR4bartA4VYKo52uEHafmPoo= X-Riseup-User-ID: D9E1FCC6F952D03DB6DB184F32A0B1F2C6AB61DB8ADD71E538F9A3114E21CC5B Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews02-sea.riseup.net (Postfix) with ESMTPSA id 4QVVQN082mzFqgp; Mon, 29 May 2023 22:22:35 +0000 (UTC) From: wrobell Date: Mon, 29 May 2023 23:22:24 +0100 Message-Id: <6aefc528753b5e46753ed8f70c5a062b9a1cd8ef.1685397780.git.wrobell@riseup.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=198.252.153.129; envelope-from=wrobell@riseup.net; helo=mx1.riseup.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Tue, 30 May 2023 01:44:54 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Tue, 30 May 2023 04:42:58 -0400 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-Flow: FLOW_IN X-Migadu-Country: US ARC-Seal: i=1; s=key1; d=yhetil.org; t=1685436192; a=rsa-sha256; cv=none; b=FMuzCVp1afVaXjXEHRgYaiK0P04xZ+jl4wBmJaTxZcbDBKzsvVkglj5Lma4yZBZMUeOfAs SLFjExrSsx2S2CXz7CR/xJiERFazhEJjXJ2GApH+3MBBt1+KoMTzh5/JwNns7ln3JpSH7r hHzgg1YQFYyvRQ8MGEbByCbDcFAFtS5JkhADUbuNRYtF5hsBqivNPxdZ9L2shmJQ4ONpNj jIXq75FngtxGYnhmENjaHPE7YuZqfMCiD6QTtn/Mm2MpoVntQV+H6VGDAsQpkbrjtSz2pX ACQhpelCnrDgpdPTylPsoWr6x/d7up5EyzeX8gxAtPK7/mNo0kyraI8/NfhzfA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=riseup.net header.s=squak header.b=Y0A7pbU3; dmarc=fail reason="SPF not aligned (relaxed)" header.from=riseup.net (policy=none); 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1685436192; 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:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=hhifyJ7xEYjZiD4WxxFdK35rbF3KqfGLQHuSXp5CXs0=; b=a5W6SxDJdaTixwg92F7KSVTB92m3qhSOBwUO5CRmidqWoEHT8Bb/MG1JW6aYH7WoLGH9q9 x+4jpPvZz6gsE3jOaOAmV/PioSJ9zHNbhDWObO8Zr5TSsqhA6iXGK5R3aQCJ3kiZ9aXerZ 9/sj1ezVIcT+8ObkYKi+FwWwFPHAxRrrRaq+rh6Xb44QedUNKAyrlwgbISAc6VMHoZy883 Dni25HlYViHjLxZjk3EDrnzG0maVtFv74J1jrRdIl0Rtmpx0LujuNr/2A48z9z1MWKNy6f yl7GFHMvH1tvzi1YdjeXhW+ODXlp+uXvoGTJ5bOWQ6I7L1PWtaYTCNopmcWGZw== X-Migadu-Spam: Yes X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=riseup.net header.s=squak header.b=Y0A7pbU3; dmarc=fail reason="SPF not aligned (relaxed)" header.from=riseup.net (policy=none); 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" X-Spam: Yes X-Migadu-Spam-Score: 8.06 X-Spam-Score: 8.06 X-Migadu-Queue-Id: 6A5BD26112 X-TUID: G7T8qxJrL5FK Both `dirname` and `basename` need to be substituted. There is no need for `sed` substitution in Erlag 25.3. --- gnu/packages/erlang.scm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gnu/packages/erlang.scm b/gnu/packages/erlang.scm index 7564c2a560..b6e82e0109 100644 --- a/gnu/packages/erlang.scm +++ b/gnu/packages/erlang.scm @@ -8,6 +8,7 @@ ;;; Copyright © 2021 Oskar Köök ;;; Copyright © 2021 Cees de Groot ;;; Copyright © 2022 jgart +;;; Copyright © 2023 wrobell ;;; ;;; This file is part of GNU Guix. ;;; @@ -168,7 +169,8 @@ (define-public erlang (lambda* (#:key outputs #:allow-other-keys) (let ((out (assoc-ref outputs "out"))) (substitute* (string-append out "/bin/erl") - (("sed") (which "sed")))))) + (("basename") (which "basename")) + (("dirname") (which "dirname")))))) (add-after 'install 'install-doc (lambda* (#:key inputs outputs #:allow-other-keys) (let* ((out (assoc-ref outputs "out")) base-commit: 7b400e7f8751e6b0cc6e66d3f7ecfb7f5bd51309 -- 2.40.1