summaryrefslogtreecommitdiff
path: root/gnu/packages/linux.scm
diff options
context:
space:
mode:
authorAlex Devaure <ajadevaure@gmail.com>2021-10-08 18:43:39 +0200
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-10-08 18:43:39 +0200
commite7b899008c34c3d420b2017b8d41e13b33d5a93c (patch)
tree3b3ab97b6f6993b21d75ca179fbd6991f81b481d /gnu/packages/linux.scm
parentc1e1aa39d6c05e12bfe78b6d132b439e82b13f74 (diff)
gnu: tlp: Fix runtime error.
* gnu/packages/linux.scm (tlp)[arguments]<#:phases>: Also modify "bat.d" location, to prevent "/usr/share/tlp/bat.d/[0-9][0-9]*[a-z]: No such file or directory" error.
Diffstat (limited to 'gnu/packages/linux.scm')
-rw-r--r--gnu/packages/linux.scm1
1 files changed, 1 insertions, 0 deletions
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 4e1ccba65c..ef6443e25c 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -6770,6 +6770,7 @@ interface in sysfs, which can be accomplished with the included udev rules.")
(setenv "TLP_NO_INIT" "1")
(setenv "TLP_NO_PMUTILS" "1")
(setenv "TLP_SBIN" (string-append out "/bin"))
+ (setenv "TLP_BATD" (string-append out "/share/tlp/bat.d"))
(setenv "TLP_BIN" (string-append out "/bin"))
(setenv "TLP_TLIB" (string-append out "/share/tlp"))
(setenv "TLP_FLIB" (string-append out "/share/tlp/func.d"))