From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:52106) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hVgje-0008Fo-BN for guix-patches@gnu.org; Tue, 28 May 2019 14:22:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hVgjd-00066g-D9 for guix-patches@gnu.org; Tue, 28 May 2019 14:22:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:43545) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hVgjZ-00064t-Uz for guix-patches@gnu.org; Tue, 28 May 2019 14:22:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hVgjZ-0002Aa-O8 for guix-patches@gnu.org; Tue, 28 May 2019 14:22:01 -0400 Subject: [bug#35345] [PATCH 2/2] gnu: tlp: Add required x86-energy-perf-policy input dependency. Resent-Message-ID: MIME-Version: 1.0 In-Reply-To: <87woict0tv.fsf@gnu.org> References: <87woict0tv.fsf@gnu.org> From: Stefan =?UTF-8?Q?Stefanovi=C4=87?= Date: Tue, 28 May 2019 18:21:28 +0000 Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 35345-done@debbugs.gnu.org Hi, The patch you made works fine on my system. Sorry for the late response. Your work on correcting, improving and applying my original patch is appreciated, thank you. Stefan. On 5/27/19, Ludovic Court=C3=A8s wrote: > Hi, > > Stefan Stefanovi=C4=87 skribis: > >> From a7264289ba328478a1dab1978fe080a5b4f392c2 Mon Sep 17 00:00:00 2001 >> From: =3D?UTF-8?q?Stefan=3D20Stefanovi=3DC4=3D87?=3D >> Date: Sat, 20 Apr 2019 16:13:37 +0200 >> Subject: [PATCH 2/2] gnu: tlp: Add required x86-energy-perf-policy input >> dependency. >> >> * gnu/packages/linux.scm (tlp) >> [inputs]: Add system specific x86-energy-perf-policy dependency. >> [arguments]<#:phases>['wrap]: >> Adjust bin-directory procedure to return #f on missing input, >> a guard against system specific input dependencies. >> Filter only strings in the path list. Reformat for-each block. >> Add x86-energy-perf-policy in bin-directory input-name list. > > I reworded it to use =E2=80=98filter-map=E2=80=99 intead of (filter strin= g? =E2=80=A6). > >> + ,@(if (member (or (%current-target-system) >> (%current-system)) >> + (package-supported-systems >> x86-energy-perf-policy)) > > This would not work, because =E2=80=98%current-target-system=E2=80=99 ret= urns a > =E2=80=9Ctriplet=E2=80=9D, not a =E2=80=9Csystem type=E2=80=9D, so I=E2= =80=99ve also rephrased it. > > Let me know if something=E2=80=99s broken! > > Thanks, > Ludo=E2=80=99. >