[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#35345: [PATCH 2/2] gnu: tlp: Add required x86-energy-perf-policy inp
From: |
Ludovic Courtès |
Subject: |
bug#35345: [PATCH 2/2] gnu: tlp: Add required x86-energy-perf-policy input dependency. |
Date: |
Mon, 27 May 2019 16:43:24 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) |
Hi,
Stefan Stefanović <address@hidden> skribis:
> From a7264289ba328478a1dab1978fe080a5b4f392c2 Mon Sep 17 00:00:00 2001
> From: =?UTF-8?q?Stefan=20Stefanovi=C4=87?= <address@hidden>
> 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 ‘filter-map’ intead of (filter string? …).
> + ,@(if (member (or (%current-target-system) (%current-system))
> + (package-supported-systems
> x86-energy-perf-policy))
This would not work, because ‘%current-target-system’ returns a
“triplet”, not a “system type”, so I’ve also rephrased it.
Let me know if something’s broken!
Thanks,
Ludo’.
- bug#35345: [PATCH 2/2] gnu: tlp: Add required x86-energy-perf-policy input dependency.,
Ludovic Courtès <=