[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
23/42: services: Add guix-daemon-service as a Hurd service.
From: |
guix-commits |
Subject: |
23/42: services: Add guix-daemon-service as a Hurd service. |
Date: |
Sat, 25 Apr 2020 13:45:05 -0400 (EDT) |
janneke pushed a commit to branch wip-hurd-vm
in repository guix.
commit 43b143026143ca8cb42e0b1df9d2f6f1ba521f1d
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 0582dff..3b28582 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)
@@ -43,6 +44,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) (hurd-user-processes-shepherd-service #f))
@@ -50,6 +52,17 @@
;;;
+;;; Bridge for guix-daemon.
+;;;
+
+(define <guix-configuration>
+ (@@ (gnu services base) <guix-configuration>))
+
+(define guix-shepherd-service
+ (@@ (gnu services base) guix-shepherd-service))
+
+
+;;;
;;; Dummy hurd-user-processes service, required for guix-daemon.
;;;
- 17/42: system: hurd: Add less, which to %base-packages/hurd., (continued)
- 17/42: system: hurd: Add less, which to %base-packages/hurd., guix-commits, 2020/04/25
- 18/42: system: hurd: Add /etc/group., guix-commits, 2020/04/25
- 15/42: gnu: hurd: Add NFS support., guix-commits, 2020/04/25
- 21/42: services: Add hurd-ttys-service-type., guix-commits, 2020/04/25
- 24/42: services: hurd: Add dummy syslog., guix-commits, 2020/04/25
- 11/42: gnu: hurd: Fix references to /bin/w., guix-commits, 2020/04/25
- 12/42: gnu: hurd: Use default Qemu guest ip: 10.0.2.15., guix-commits, 2020/04/25
- 20/42: services: Add hurd-console-service-type., guix-commits, 2020/04/25
- 26/42: services: Add openssh-service as a Hurd service., guix-commits, 2020/04/25
- 22/42: services: Add hurd-user-services-service-type., guix-commits, 2020/04/25
- 23/42: services: Add guix-daemon-service as a Hurd service.,
guix-commits <=
- 29/42: system: hurd: Add openssh service., guix-commits, 2020/04/25
- 30/42: system: hurd: Create system profile for guix development., guix-commits, 2020/04/25
- 28/42: system: gnu: Populate "/etc" from "/boot/activation"., guix-commits, 2020/04/25
- 31/42: system: gnu: Add %bootstrap-{gcc, binutils, glibc} for devel profile., guix-commits, 2020/04/25
- 07/42: gnu: guix: Cross-build fix: override compressors., guix-commits, 2020/04/25
- 25/42: services: hurd: Add dummy loopback., guix-commits, 2020/04/25
- 19/42: services: Add hurd., guix-commits, 2020/04/25
- 27/42: system: hurd: Add the Shepherd., guix-commits, 2020/04/25
- 33/42: system: hurd: Add the guix service., guix-commits, 2020/04/25
- 41/42: system: hurd: Add hurd-grub-minimal-bootloader., guix-commits, 2020/04/25