From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id 8JfXBFbU12VuLAEAe85BDQ:P1 (envelope-from ) for ; Fri, 23 Feb 2024 00:10:14 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id 8JfXBFbU12VuLAEAe85BDQ (envelope-from ) for ; Fri, 23 Feb 2024 00:10:14 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=incana.org header.s=gm1 header.b=idRZ1zHL; 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=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1708643414; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: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=rF7jlmZ5bRGU6Krtf241BoohRI3tH0q3OnrGlU5zHSg=; b=nRymy3jgbwphqBxcb4mTh7qUr/TF2W2zGhTpuaccTn6EvFPG/IxcCpNVc+WccWhN8G6wKb F05gXspOcdGA8jdVMPlDt2T5CWCBNdPiWSgumeMi9h6k2GJk0542uDnRXezGdYjqFoNJtf 4ZVsvcpK7yPZCpYFxD+jfSa1Rr9K1mLWlAFWif8xcYYXEEQSQbzCEXFkVkTZkGc7KikY8A 3VdF79bDtKloC2hIA7XvDMlLB9VSjkdFoLMXAb3FUDjsG4+NjgTeh5KHPAy2H8rdszLeAb eiMc5D2xNISwDNu1D3T5wlWC1ScmwUcmWyOkqzGXrA8JE+s3kduaFdOkmcjHgA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=incana.org header.s=gm1 header.b=idRZ1zHL; 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=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1708643414; a=rsa-sha256; cv=none; b=Xn6hhxrEM+zI8BVeX0LZOcTRYic5CXn0iKp/Bny/tgQa4fzy8xRZHVZd77lfeRdaKXxfGn OLeA0/8gEs1GA7ssUkpuTD7Fl8syo11KQcHI9vwE6ayJq7OG9bniuD0YMF98+wkqfhE0Q+ WQTT1pdxvnNaN//ngIVUnaCAWLlLlraqFMy4lG+QvgoAJAU755PmRAj35JqcDz5qOPz1MX qPflYyVFUqT6Aq2ViWbh7+5CmkXZFF/T1AywhPWFYUi0esRWx8U+WQTn3DYQnnHe5h9IRc +dGGgDR9unsT9ljxra0jGOTrev82btAGaZObgU774Nix/Gj9Ha1qDy4LphwAwA== 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 82F8969099 for ; Fri, 23 Feb 2024 00:10:13 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rdICK-0000tW-5R; Thu, 22 Feb 2024 18:09:48 -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 1rdICE-0000sx-LA for guix-patches@gnu.org; Thu, 22 Feb 2024 18:09:42 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rdICE-0002KZ-8s for guix-patches@gnu.org; Thu, 22 Feb 2024 18:09:42 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rdICY-0002G5-4B; Thu, 22 Feb 2024 18:10:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#69313] [PATCH v2 2/2] gnu: tlpui: Reference inputs directly during build. Resent-From: Juliana Sims Original-Sender: "Debbugs-submit" Resent-CC: leo@famulari.name, me@tobias.gr, w@wmeyer.eu, guix-patches@gnu.org Resent-Date: Thu, 22 Feb 2024 23:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69313 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69313@debbugs.gnu.org Cc: Juliana Sims , Leo Famulari , Tobias Geerinckx-Rice , Wilko Meyer X-Debbugs-Original-Xcc: Leo Famulari , Tobias Geerinckx-Rice , Wilko Meyer Received: via spool by 69313-submit@debbugs.gnu.org id=B69313.17086433548515 (code B ref 69313); Thu, 22 Feb 2024 23:10:02 +0000 Received: (at 69313) by debbugs.gnu.org; 22 Feb 2024 23:09:14 +0000 Received: from localhost ([127.0.0.1]:39159 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rdIBl-0002DH-Tp for submit@debbugs.gnu.org; Thu, 22 Feb 2024 18:09:14 -0500 Received: from relay7-d.mail.gandi.net ([217.70.183.200]:46825) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rdIBj-0002Ci-89 for 69313@debbugs.gnu.org; Thu, 22 Feb 2024 18:09:12 -0500 Received: by mail.gandi.net (Postfix) with ESMTPSA id 31C5220008; Thu, 22 Feb 2024 23:08:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=incana.org; s=gm1; t=1708643320; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=rF7jlmZ5bRGU6Krtf241BoohRI3tH0q3OnrGlU5zHSg=; b=idRZ1zHLMq3+uoa8qv75tYhSNj3+h+L9FJZeyXy0yjY27Ng5xSGzAAjhF4Hpi+dhzXj5Xg 6eVORgPqotlx/5Gp5hNVpPw7uOhQgvM/KTriUCw+70NIngXiLe7IvIz9PbrOrjfGS+Q+WR T4uKUMBZpaxEqtpDHGCNzdwhWMPHVEbvjN055RuKV2WdpAuGPioqfPXRjoJxq2iJXJLYAn dFmh71P6HbK+0w1vkAPWujItwsB4FgyWWZA+r+wc6/Dw9ujQ0xxcg7FaT/sjn6yB/hHHLr 70/LbmMLIw5NUKliprRkqO2DbUADUqQZU6upx62CNT3NIv5ou5i9xNhAmwupvg== From: Juliana Sims Date: Thu, 22 Feb 2024 17:56:59 -0500 Message-ID: <760260ba9ec62a79c7a52795280f7f158f6d8612.1708642619.git.juli@incana.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <87il2gcfvm.fsf@nicolasgoaziou.fr> References: <87il2gcfvm.fsf@nicolasgoaziou.fr> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-GND-Sasl: juli@incana.org 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: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -3.87 X-Spam-Score: -3.87 X-Migadu-Queue-Id: 82F8969099 X-Migadu-Scanner: mx11.migadu.com X-TUID: 6ib2b0r92Nup * gnu/packages/linux.scm (tlpui)[arguments]: Reference inputs directly during build. Change-Id: I4c71edff805b700ab3f07ecf88ca633081d75c21 --- gnu/packages/linux.scm | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index ef225479ca..3aa02345b4 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -7868,12 +7868,11 @@ (define-public tlpui (substitute* "setup.py" (("/usr/") "")))) (add-after 'unpack 'set-absolute-locations - (lambda* (#:key inputs #:allow-other-keys) - (let ((defaults.conf - (search-input-file inputs "/share/tlp/defaults.conf")) - (lspci (search-input-file inputs "/bin/lspci")) - (lsusb (search-input-file inputs "/bin/lsusb")) - (tlp-stat (search-input-file inputs "/bin/tlp-stat"))) + (lambda _ + (let ((defaults.conf #$(file-append tlp "/share/tlp/defaults.conf")) + (lspci #$(file-append pciutils "/bin/lspci")) + (lsusb #$(file-append usbutils "/bin/lsusb")) + (tlp-stat #$(file-append tlp "/bin/tlp-stat"))) (with-directory-excursion "tlpui" (substitute* '("file.py" "settingshelper.py" "statui.py") (("\"tlp-stat\"") -- 2.41.0