From e7b899008c34c3d420b2017b8d41e13b33d5a93c Mon Sep 17 00:00:00 2001 From: Alex Devaure Date: Fri, 8 Oct 2021 18:43:39 +0200 Subject: [PATCH] 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. --- gnu/packages/linux.scm | 1 + 1 file changed, 1 insertion(+) 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 @@ (define-public tlp (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"))