me
/
guix
Archived
1
0
Fork 0

gnu: tpacpi-bat: Adjust for Guile 3.0.

* gnu/packages/linux.scm (tpacpi-bat)[arguments]: Provide explicit destination
in calls to FORMAT.
master
Marius Bakke 2020-04-26 12:44:09 +02:00
parent 30d0f7fa8f
commit 05e3ed302f
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA
1 changed files with 2 additions and 2 deletions

View File

@ -4717,11 +4717,11 @@ from userspace.")
(lambda _
(substitute* "tpacpi-bat"
(("cat ")
(format "~a " (which "cat")))
(format #f "~a " (which "cat")))
;; tpacpi-bat modprobes the acpi_call kernel module if it's not
;; loaded. That's the administrator's prerogative; disable it.
(("system \"(modprobe .*)\"" _ match)
(format "die \"Please run ~a first.\\n\"" match)))
(format #f "die \"Please run ~a first.\\n\"" match)))
#t))
(delete 'configure) ; nothing to configure
(delete 'build) ; nothing to build