[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
20/22: services: Register guix-daemon-service as a hurd service.
From: |
guix-commits |
Subject: |
20/22: services: Register guix-daemon-service as a hurd service. |
Date: |
Mon, 13 Apr 2020 09:20:51 -0400 (EDT) |
janneke pushed a commit to branch wip-hurd-vm
in repository guix.
commit ce40b00bf5d702ccf7a1fa6380ca424842b79093
Author: Jan (janneke) Nieuwenhuizen <address@hidden>
AuthorDate: Mon Apr 13 11:18:25 2020 +0200
services: Register 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 efa8aea..8432f3b 100644
--- a/gnu/services/hurd.scm
+++ b/gnu/services/hurd.scm
@@ -20,6 +20,7 @@
#:use-module (gnu packages hurd)
#:use-module (gnu packages ssh)
#:use-module (gnu services)
+ #:use-module (gnu services base)
#:use-module (gnu services shepherd)
#:use-module (gnu system shadow)
#:use-module (guix gexp)
@@ -47,6 +48,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))
(($ <openssh-configuration>) (hurd-ssh-shepherd-service config))
@@ -55,6 +57,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.
;;;
- 02/22: system: hurd: Add guix., (continued)
- 02/22: system: hurd: Add guix., guix-commits, 2020/04/13
- 06/22: REMOVEME gnu: guix: Bugfix for cross compiling to the Hurd., guix-commits, 2020/04/13
- 04/22: Revert "compile: Run the load phase within 'with-target'.", guix-commits, 2020/04/13
- 08/22: build.sh: Disable daemon deduplication; builds gnu-make-boot0!, guix-commits, 2020/04/13
- 09/22: system: hurd: Bump image size to 10GiB., guix-commits, 2020/04/13
- 12/22: system: hurd: Add the Shepherd., guix-commits, 2020/04/13
- 11/22: system: hurd: Add openssh., guix-commits, 2020/04/13
- 15/22: DRAFT system: hurd: Start the Shepherd., guix-commits, 2020/04/13
- 18/22: services: Add hurd-ttys-service-type., guix-commits, 2020/04/13
- 14/22: gnu: python: Build fix for the Hurd., guix-commits, 2020/04/13
- 20/22: services: Register guix-daemon-service as a hurd service.,
guix-commits <=
- 16/22: services: Add hurd., guix-commits, 2020/04/13
- 13/22: gnu: coreutils: Mark three more tests XFAIL on the Hurd., guix-commits, 2020/04/13
- 19/22: services: Add hurd-user-services-service-type., guix-commits, 2020/04/13
- 21/22: system: hurd: Initial (gnu services) generated shepherd.conf., guix-commits, 2020/04/13
- 17/22: services: Add hurd-console-service-type., guix-commits, 2020/04/13
- 22/22: HACK use uncompiled .scm for shepherd, guix-commits, 2020/04/13