aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2021-12-08 15:27:06 +0100
committerLudovic Courtès <ludo@gnu.org>2021-12-08 18:56:47 +0100
commit24ead149dbadbaad56f22a89b394bc6fcdc73b52 (patch)
tree7cbc9a27b2f8959107fba44d70ef407afd431432
parent20e6446a68800d44cee8d2d273a04f8d3e8d6428 (diff)
downloadguix-24ead149dbadbaad56f22a89b394bc6fcdc73b52.tar.gz
guix-24ead149dbadbaad56f22a89b394bc6fcdc73b52.zip
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.
-rw-r--r--gnu/system.scm1
1 files changed, 1 insertions, 0 deletions
diff --git a/gnu/system.scm b/gnu/system.scm
index 79c3c8130c..088c62ddde 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