guix-commits
[Top][All Lists]
Advanced

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

05/24: system: hurd: Add hurd-default-essential-services.


From: guix-commits
Subject: 05/24: system: hurd: Add hurd-default-essential-services.
Date: Sat, 6 Jun 2020 11:09:36 -0400 (EDT)

janneke pushed a commit to branch wip-hurd-vm
in repository guix.

commit f543c2e73a9ecb6da7be3ba7de722eb01e396e18
Author: Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
AuthorDate: Sun May 3 14:13:58 2020 +0200

    system: hurd: Add hurd-default-essential-services.
    
    * gnu/system.scm (hurd-default-essential-services): New procedure.
---
 gnu/system.scm | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/gnu/system.scm b/gnu/system.scm
index ac8bbd1..213452a 100644
--- a/gnu/system.scm
+++ b/gnu/system.scm
@@ -9,6 +9,7 @@
 ;;; Copyright © 2020 Brice Waegeneire <brice@waegenei.re>
 ;;; Copyright © 2020 Florian Pelz <pelzflorian@pelzflorian.de>
 ;;; Copyright © 2020 Maxim Cournoyer <maxim.cournoyer@gmail.com>
+;;; Copyright © 2020 Jan (janneke) Nieuwenhuizen <jannek@gnu.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -127,6 +128,8 @@
             operating-system-with-gc-roots
             operating-system-with-provenance
 
+            hurd-default-essential-services
+
             boot-parameters
             boot-parameters?
             boot-parameters-label
@@ -574,6 +577,10 @@ bookkeeping."
                          (service firmware-service-type
                                   (operating-system-firmware os)))))))
 
+(define (hurd-default-essential-services os)
+  (list (service system-service-type '())
+        (service profile-service-type '())))
+
 (define* (operating-system-services os)
   "Return all the services of OS, including \"essential\" services."
   (instantiate-missing-services



reply via email to

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