guix-commits
[Top][All Lists]
Advanced

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

15/48: services: Add hurd.


From: guix-commits
Subject: 15/48: services: Add hurd.
Date: Sun, 19 Apr 2020 10:22:09 -0400 (EDT)

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

commit 0f4c18962c0e57f69ca0f43418ec0565fc549e46
Author: Jan (janneke) Nieuwenhuizen <address@hidden>
AuthorDate: Sun Apr 12 22:17:03 2020 +0200

    services: Add hurd.
    
    * gnu/services/hurd.scm: New file.
    * gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
---
 gnu/local.mk          |  1 +
 gnu/services/hurd.scm | 43 +++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 44 insertions(+)

diff --git a/gnu/local.mk b/gnu/local.mk
index c5f914b..eab81ab 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -567,6 +567,7 @@ GNU_SYSTEM_MODULES =                                \
   %D%/services/games.scm                       \
   %D%/services/getmail.scm                             \
   %D%/services/guix.scm                        \
+  %D%/services/hurd.scm                                \
   %D%/services/kerberos.scm                    \
   %D%/services/linux.scm                       \
   %D%/services/lirc.scm                                \
diff --git a/gnu/services/hurd.scm b/gnu/services/hurd.scm
new file mode 100644
index 0000000..77dd226
--- /dev/null
+++ b/gnu/services/hurd.scm
@@ -0,0 +1,43 @@
+;;; GNU Guix --- Functional package management for GNU
+;;; Copyright © 2020 Jan (janneke) Nieuwenhuizen <address@hidden>
+;;;
+;;; This file is part of GNU Guix.
+;;;
+;;; GNU Guix is free software; you can redistribute it and/or modify it
+;;; under the terms of the GNU General Public License as published by
+;;; the Free Software Foundation; either version 3 of the License, or (at
+;;; your option) any later version.
+;;;
+;;; GNU Guix is distributed in the hope that it will be useful, but
+;;; WITHOUT ANY WARRANTY; without even the implied warranty of
+;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+;;; GNU General Public License for more details.
+;;;
+;;; You should have received a copy of the GNU General Public License
+;;; along with GNU Guix.  If not, see <http://www.gnu.org/licenses/>.
+
+(define-module (gnu services hurd)
+  #:use-module (gnu packages hurd)
+  #:use-module (gnu services)
+  #:use-module (gnu services shepherd)
+  #:use-module (gnu system shadow)
+  #:use-module (guix gexp)
+  #:use-module (guix modules)
+  #:use-module (guix records)
+  #:use-module (srfi srfi-1)
+  #:use-module (ice-9 match)
+  #:export (hurd-service->shepherd-service))
+
+;;; Commentary:
+;;;
+;;; This module implements services for the Hurd.
+;;;
+;;; Code:
+
+;; XXX Gradually bootstrap (gnu services) framework.
+(define (hurd-service->shepherd-service service)
+  (let ((config (service-value service)))
+    (match config
+      (_ '()))))
+
+;;; hurd.scm ends here



reply via email to

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