gnu: tpacpi-bat: Adjust for Guile 3.0.

* gnu/packages/linux.scm (tpacpi-bat)[arguments]: Provide explicit destination
in calls to FORMAT.
This commit is contained in:
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

View file

@ -4717,11 +4717,11 @@ (define-public tpacpi-bat
(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