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 ms5.migadu.com with LMTPS id eLgMIpwb0WPonQAAbAwnHQ (envelope-from ) for ; Wed, 25 Jan 2023 13:07:56 +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 oKABIpwb0WOIFgEA9RJhRA (envelope-from ) for ; Wed, 25 Jan 2023 13:07:56 +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 600D032BD0 for ; Wed, 25 Jan 2023 13:07:56 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pKeYh-0006Th-G6; Wed, 25 Jan 2023 07:07:21 -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 1pKeYV-0006NK-8x for guix-patches@gnu.org; Wed, 25 Jan 2023 07:07:08 -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 1pKeYQ-00068w-P5 for guix-patches@gnu.org; Wed, 25 Jan 2023 07:07:05 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pKeYQ-0000qu-Kn for guix-patches@gnu.org; Wed, 25 Jan 2023 07:07:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#61057] [PATCH 3/3] gnu: flashrom: Wrap PATH to find dmidecode. Resent-From: Hilton Chain Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 25 Jan 2023 12:07:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61057 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 61057@debbugs.gnu.org Received: via spool by 61057-submit@debbugs.gnu.org id=B61057.16746483803176 (code B ref 61057); Wed, 25 Jan 2023 12:07:02 +0000 Received: (at 61057) by debbugs.gnu.org; 25 Jan 2023 12:06:20 +0000 Received: from localhost ([127.0.0.1]:58496 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pKeXk-0000pA-Hf for submit@debbugs.gnu.org; Wed, 25 Jan 2023 07:06:20 -0500 Received: from mail.boiledscript.com ([144.168.59.46]:36306) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pKeXj-0000or-A3 for 61057@debbugs.gnu.org; Wed, 25 Jan 2023 07:06:19 -0500 Date: Wed, 25 Jan 2023 20:06:02 +0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space; s=dkim; t=1674648373; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=6lypRBCVrdhrm2cGQtLIqbA2rqJBcRcVjDgU9YzDl8s=; b=rMjfDafHaP+ntqp1IzZWMSStFRdMwnL5FY1+oofICgvJ1VKQtL7hNGTmR9DsT9G92NhEE1 erYZ7zb/FVG2qsN+ufQxkC1HQmE1mFh/IVya8ESE6ajp3p8YGDBiSUlqrMyv14Vgt9b1PM 2okAauYdOcPwE0bkDVLOQf+Afj27hI06TTUorJLjC674LY/6JiSFXMsAsyKkcyGn5uKMPv IWCASJ6MQ8hvTHVnWfsF7vppfSzGi/h3qR3D6JIeiDJET+Z8pWLOu6ABVWIK087Mz7knFo hjjDijc6F3Hm/YdfU8seQCH/uicMCRjSdlIj2SfZgIf5JMUl9ZJWsjQ2GccKWQ== Message-ID: <87lelq3jkl.wl-hako@ultrarare.space> In-Reply-To: <87mt663jlg.wl-hako@ultrarare.space> References: <87r0vi3jr3.wl-hako@ultrarare.space> <87o7qm3jml.wl-hako@ultrarare.space> <87mt663jlg.wl-hako@ultrarare.space> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Spamd-Bar: / X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Hilton Chain X-ACL-Warn: , Hilton Chain via Guix-patches From: Hilton Chain via Guix-patches via 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-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1674648476; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: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=6lypRBCVrdhrm2cGQtLIqbA2rqJBcRcVjDgU9YzDl8s=; b=Xj3qWIbgpL96h6IxcPnqmOuf5eZ9JEk/ayLMdI2rBPemDrmF+1pUXMG3E0etP9p8bi7EWz jYD7RkqRPzd1BEtdpgtv1yWnwTf1qqQepR9DrK1Tw9idrhbpX7JQpd9tC2Jeo/XMHUTE4q R7unq9FLgSr7FllOc9zwd0QhAE06FuGEQkWzFmQrBtiZdtS3sLPWfNDuYK4lcYtNTbakgK xYw+oZHXP9d5cKZvAIrwB/lgUopuvB/h+gIMBLvA8uIFtwVglWwHf/9iEEv17Q2lV4AVS8 2F7cA5O0klV5uSEo6Z4wyYklTfEBrafjbMZG7cqBI9py0GeYORLRNsCXaWrbrA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=ultrarare.space header.s=dkim header.b=rMjfDafH; 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"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1674648476; a=rsa-sha256; cv=none; b=bdJvBG2EqOAVW2PJYsYP1fzSz+RL/+JKVvbV8O2trg/ku7NTV+xQSMyZjMu+Bg4Oznt3Jf /osjCwnwb6okWK99UTYtzMVuJdBmna4jF+iPsjWDh6+SvguCRdZbe43Vstab3gr45/qXF/ 1kJXpMqoYal6HH3KuIsvvl7Y3lYLf3aiTbPtl4/7grUTQdsbYmaxxsRF2ZeWiVLWd+SdjS 9XhxfG0kvNkrFZDkpMmmOsXQ2iIrKVe/lKpVHRmX8+l1z+kF1ycpgPmeTP2j5kbrKymgMp 5uByCYhftshxxyo3HWYdtkLNKCEkVMpU97aabWWo9jj6kCVIdtswhYC4jFIjOg== X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=ultrarare.space header.s=dkim header.b=rMjfDafH; 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"; dmarc=pass (policy=none) header.from=gnu.org X-Migadu-Spam-Score: -3.58 X-Spam-Score: -3.58 X-Migadu-Queue-Id: 600D032BD0 X-TUID: 4JPQzUTw2KlE * gnu/packages/flashing-tools.scm (flashrom)[arguments]<#:phases>: Add phase 'wrap-program. --- gnu/packages/flashing-tools.scm | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/gnu/packages/flashing-tools.scm b/gnu/packages/flashing-tools.scm index 7016d04092..c2f9858fe2 100644 --- a/gnu/packages/flashing-tools.scm +++ b/gnu/packages/flashing-tools.scm @@ -79,7 +79,14 @@ (define-public flashrom #:tests? #f ; no 'check' target #:phases #~(modify-phases %standard-phases - (delete 'configure)))) ; no configure script + (delete 'configure) ; no configure script + (add-after 'install 'wrap-program + (lambda* (#:key inputs #:allow-other-keys) + (let ((flashrom (string-append #$output "/sbin/flashrom"))) + (wrap-program flashrom + `("PATH" ":" prefix + (,(dirname (search-input-file + inputs "/sbin/dmidecode"))))))))))) (home-page "https://flashrom.org/") (synopsis "Identify, read, write, erase, and verify ROM/flash chips") (description -- 2.39.1