From 05e3ed302f5a4dd611daf39c79e5e50502455b2d Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Sun, 26 Apr 2020 12:44:09 +0200 Subject: [PATCH] gnu: tpacpi-bat: Adjust for Guile 3.0. * gnu/packages/linux.scm (tpacpi-bat)[arguments]: Provide explicit destination in calls to FORMAT. --- gnu/packages/linux.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 9a8bbc78d8..12cb39ff9b 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -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