summary refs log tree commit diff
path: root/gnu/system.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2020-04-22 16:22:33 +0200
committerLudovic Courtès <ludo@gnu.org>2020-04-26 22:49:49 +0200
commit0e5c2d5e145118ec47329d6b3a534344d2e89cd3 (patch)
treebf84c01cbdd90a0ae3e044cb832f12d06ee67b15 /gnu/system.scm
parent45c84c8f6f979c84d08b205ed3fb3d6769c4ae3f (diff)
downloadguix-0e5c2d5e145118ec47329d6b3a534344d2e89cd3.tar.gz
services: system: Initial entries are non-monadic.
* gnu/system.scm (operating-system-directory-base-entries): Return a
regular, non-monadic value.
* gnu/services.scm (system-derivation): Adjust accordingly.
* gnu/system/linux-container.scm (container-essential-services): Likewise.
Diffstat (limited to 'gnu/system.scm')
-rw-r--r--gnu/system.scm9
1 files changed, 4 insertions, 5 deletions
diff --git a/gnu/system.scm b/gnu/system.scm
index 3a86564fa2..3c511f4089 100644
--- a/gnu/system.scm
+++ b/gnu/system.scm
@@ -506,11 +506,10 @@ value of the SYSTEM-SERVICE-TYPE service."
                    (hooks (list linux-module-database))))
          (initrd  (operating-system-initrd-file os))
          (params  (operating-system-boot-parameters-file os)))
-    (with-monad %store-monad
-      (return `(("kernel" ,kernel)
-                ("parameters" ,params)
-                ("initrd" ,initrd)
-                ("locale" ,locale))))))   ;used by libc
+    `(("kernel" ,kernel)
+      ("parameters" ,params)
+      ("initrd" ,initrd)
+      ("locale" ,locale))))   ;used by libc
 
 (define (operating-system-default-essential-services os)
   "Return the list of essential services for OS.  These are special services