guix-commits
[Top][All Lists]
Advanced

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

02/05: system: Mark 'services' field as thunked.


From: guix-commits
Subject: 02/05: system: Mark 'services' field as thunked.
Date: Wed, 8 Dec 2021 12:57:27 -0500 (EST)

civodul pushed a commit to branch core-updates-frozen
in repository guix.

commit 24ead149dbadbaad56f22a89b394bc6fcdc73b52
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Wed Dec 8 15:27:06 2021 +0100

    system: Mark 'services' field as thunked.
    
    This allows us to make services dependent on (%current-system), for
    example.
    
    * gnu/system.scm (<operating-system>)[services]: Mark as thunked.
---
 gnu/system.scm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gnu/system.scm b/gnu/system.scm
index 79c3c81..088c62d 100644
--- a/gnu/system.scm
+++ b/gnu/system.scm
@@ -267,6 +267,7 @@
                       (default (operating-system-default-essential-services
                                 this-operating-system)))
   (services operating-system-user-services        ; list of services
+            (thunked)                     ;allow for system-dependent services
             (default %base-services))
 
   (pam-services operating-system-pam-services     ; list of PAM services



reply via email to

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