mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-05-25 10:31:49 +02:00
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.
This commit is contained in:
+2
-3
@@ -318,11 +318,10 @@ This is a shorthand for (map (lambda (svc) ...) %base-services)."
|
||||
;;; Core services.
|
||||
;;;
|
||||
|
||||
(define (system-derivation mentries mextensions)
|
||||
(define (system-derivation entries mextensions)
|
||||
"Return as a monadic value the derivation of the 'system' directory
|
||||
containing the given entries."
|
||||
(mlet %store-monad ((entries mentries)
|
||||
(extensions (mapm/accumulate-builds identity
|
||||
(mlet %store-monad ((extensions (mapm/accumulate-builds identity
|
||||
mextensions)))
|
||||
(lower-object
|
||||
(file-union "system"
|
||||
|
||||
Reference in New Issue
Block a user