Subject: [bug#40274] [PATCH v6 2/2] gnu: Add kernel-module-loader-service.

From: "pelzflorian (Florian Pelz)" <[email-masked]>
Date: Sun, 5 Apr 2020 01:06:10 +0200

On Sat, Apr 04, 2020 at 11:11:44PM +0200, Danny Milosavljevic wrote:
> I meant (ice-9 textual-ports)

Yes.  I change Brice’s kernel-module-loader-shepherd-service (see
attachment) and everything works perfectly.

Thank you!

Regards,
Florian
diff --git a/gnu/services/linux.scm b/gnu/services/linux.scm
index 621d26fcff..61a7dbb9a1 100644
--- a/gnu/services/linux.scm
+++ b/gnu/services/linux.scm
@@ -151,7 +151,8 @@ representation."
         #~(lambda _
             (if (file-exists? "/proc/sys/kernel/modprobe")
                 (let ((modprobe (call-with-input-file
-                                    "/proc/sys/kernel/modprobe" get-line)))
+                                    "/proc/sys/kernel/modprobe"
+                                  (@ (ice-9 textual-ports) get-line))))
                   (guard (c ((message-condition? c)
                              (format (current-error-port) "~a~%"
                                      (condition-message c))