[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/36: HACK services: Add user-processes-service as a Hurd service.
From: |
guix-commits |
Subject: |
04/36: HACK services: Add user-processes-service as a Hurd service. |
Date: |
Fri, 1 May 2020 11:53:56 -0400 (EDT) |
janneke pushed a commit to branch wip-hurd-vm
in repository guix.
commit 3d3353793056ddbfcd8d9433ba0ed75203e14171
Author: Jan (janneke) Nieuwenhuizen <address@hidden>
AuthorDate: Mon Apr 13 11:04:09 2020 +0200
HACK services: Add user-processes-service as a Hurd service.
TODO Remove/make it work with the Hurd. This dummy is currently used to
satisfy
guix build: error: service 'XXX' requires 'user-processes', which is
not provided by any service
and then filtered-out.
The `guix-daemon' service type depends on `user-services'.
* gnu/services/hurd.scm (user-services-shepherd-service): New variable.
(hurd-service->shepherd-service): Add entry.
---
gnu/services/hurd.scm | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/gnu/services/hurd.scm b/gnu/services/hurd.scm
index 4f32cce..d0248c6 100644
--- a/gnu/services/hurd.scm
+++ b/gnu/services/hurd.scm
@@ -44,6 +44,7 @@
(match config
(($ <hurd-console-configuration>) (hurd-console-shepherd-service config))
(($ <hurd-ttys-configuration>) (hurd-ttys-shepherd-service config))
+ (('user-processes) (user-processes-shepherd-service '()))
(_ '()))))
(define (first-of-two first second)
@@ -51,6 +52,14 @@
;;;
+;;; Bridge for user-processes service, required for guix-daemon.
+;;;
+
+(define user-processes-shepherd-service
+ (@@ (gnu services shepherd) user-processes-shepherd-service))
+
+
+;;;
;;; Simple wrapper for <hurd>/bin/console.
;;;
- branch wip-hurd-vm created (now 3c8947d), guix-commits, 2020/05/01
- 02/36: DRAFT services: Add hurd-console-service-type., guix-commits, 2020/05/01
- 04/36: HACK services: Add user-processes-service as a Hurd service.,
guix-commits <=
- 03/36: DRAFT services: Add hurd-ttys-service-type., guix-commits, 2020/05/01
- 09/36: Revert "squash! Use static-networking for loopback", guix-commits, 2020/05/01
- 10/36: HACK services: Add openssh-service as a Hurd service., guix-commits, 2020/05/01
- 12/36: system: gnu: Populate "/etc" from "/boot/activation"., guix-commits, 2020/05/01
- 14/36: DRAFT: hurd: use static-networking instead of dummy loopback hack., guix-commits, 2020/05/01
- 01/36: services: Add hurd., guix-commits, 2020/05/01
- 13/36: system: hurd: Add openssh service., guix-commits, 2020/05/01
- 15/36: Revert "DRAFT: hurd: use static-networking instead of dummy loopback hack.", guix-commits, 2020/05/01
- 05/36: HACK services: Add guix-daemon-service as a Hurd service., guix-commits, 2020/05/01
- 07/36: HACK services: hurd: Add dummy loopback., guix-commits, 2020/05/01