[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
16/36: services: Add guix-daemon-service as a Hurd service.
From: |
guix-commits |
Subject: |
16/36: services: Add guix-daemon-service as a Hurd service. |
Date: |
Mon, 27 Apr 2020 06:19:47 -0400 (EDT) |
janneke pushed a commit to branch wip-hurd-vm
in repository guix.
commit ad6f799228560b4344e797ea232a6a6ee7126ea8
Author: Jan (janneke) Nieuwenhuizen <address@hidden>
AuthorDate: Mon Apr 13 11:18:25 2020 +0200
services: Add guix-daemon-service as a Hurd service.
* gnu/services/hurd.scm (<guix-configuration>, guix-shepherd-service): New
variable.
(hurd-service->shepherd-service): Add entry.
---
gnu/services/hurd.scm | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/gnu/services/hurd.scm b/gnu/services/hurd.scm
index 421843f..318b149 100644
--- a/gnu/services/hurd.scm
+++ b/gnu/services/hurd.scm
@@ -19,6 +19,7 @@
(define-module (gnu services hurd)
#:use-module (gnu packages hurd)
#:use-module (gnu services)
+ #:use-module (gnu services base)
#:use-module (gnu services shepherd)
#:use-module (gnu system shadow)
#:use-module (guix gexp)
@@ -42,6 +43,7 @@
(define (hurd-service->shepherd-service service)
(let ((config (service-value service)))
(match config
+ (($ <guix-configuration>) (guix-shepherd-service config))
(($ <hurd-console-configuration>) (hurd-console-shepherd-service config))
(($ <hurd-ttys-configuration>) (hurd-ttys-shepherd-service config))
(('user-processes) (user-processes-shepherd-service '()))
@@ -52,6 +54,17 @@
;;;
+;;; Bridge for guix-daemon.
+;;;
+
+(define <guix-configuration>
+ (@@ (gnu services base) <guix-configuration>))
+
+(define guix-shepherd-service
+ (@@ (gnu services base) guix-shepherd-service))
+
+
+;;;
;;; Bridge for user-processes service, required for guix-daemon.
;;;
- 14/36: services: Add hurd-ttys-service-type., (continued)
- 14/36: services: Add hurd-ttys-service-type., guix-commits, 2020/04/27
- 11/36: system: hurd: Add /etc/group., guix-commits, 2020/04/27
- 13/36: services: Add hurd-console-service-type., guix-commits, 2020/04/27
- 19/36: services: Add openssh-service as a Hurd service., guix-commits, 2020/04/27
- 12/36: services: Add hurd., guix-commits, 2020/04/27
- 15/36: services: Add user-processes-service as a Hurd service., guix-commits, 2020/04/27
- 20/36: system: hurd: Add the Shepherd., guix-commits, 2020/04/27
- 22/36: system: hurd: Add openssh service., guix-commits, 2020/04/27
- 21/36: system: gnu: Populate "/etc" from "/boot/activation"., guix-commits, 2020/04/27
- 17/36: services: hurd: Add dummy syslog., guix-commits, 2020/04/27
- 16/36: services: Add guix-daemon-service as a Hurd service.,
guix-commits <=
- 18/36: services: hurd: Add dummy loopback., guix-commits, 2020/04/27
- 25/36: system: hurd: Add guix., guix-commits, 2020/04/27
- 28/36: services: Add hurd-file-systems-service-type., guix-commits, 2020/04/27
- 29/36: services: hurd: Move hurd-default-essential-services., guix-commits, 2020/04/27
- 32/36: system: hurd: Add hurd-grub-configuration-file., guix-commits, 2020/04/27
- 33/36: system: hurd: Add hurd-grub-minimal-bootloader., guix-commits, 2020/04/27
- 23/36: system: hurd: Create system profile for guix development., guix-commits, 2020/04/27
- 30/36: system: hurd: Export system variables., guix-commits, 2020/04/27
- 27/36: services: hurd: Move hurd-etc-sevcices., guix-commits, 2020/04/27
- 09/36: gnu: Add libtirpc/hurd., guix-commits, 2020/04/27