guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

04/06: gnu: tpacpi-bat: Adjust for Guile 3.0.


From: guix-commits
Subject: 04/06: gnu: tpacpi-bat: Adjust for Guile 3.0.
Date: Sun, 26 Apr 2020 07:33:00 -0400 (EDT)

mbakke pushed a commit to branch master
in repository guix.

commit 05e3ed302f5a4dd611daf39c79e5e50502455b2d
Author: Marius Bakke <address@hidden>
AuthorDate: Sun Apr 26 12:44:09 2020 +0200

    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 9a8bbc7..12cb39f 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]