gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [taler-deployment] branch master updated: guix: Add a servi


From: gnunet
Subject: [GNUnet-SVN] [taler-deployment] branch master updated: guix: Add a service for /etc/aliases
Date: Fri, 06 Jul 2018 00:21:51 +0200

This is an automated email from the git hooks/post-receive script.

ng0 pushed a commit to branch master
in repository deployment.

The following commit(s) were added to refs/heads/master by this push:
     new 98b47ba  guix: Add a service for /etc/aliases
98b47ba is described below

commit 98b47ba801e0856512b5c3ece13a06549665e31d
Author: Nils Gillmann <address@hidden>
AuthorDate: Thu Jul 5 22:22:23 2018 +0000

    guix: Add a service for /etc/aliases
    
    Signed-off-by: Nils Gillmann <address@hidden>
---
 guix/config.scm | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/guix/config.scm b/guix/config.scm
index 8c66aa5..baef731 100644
--- a/guix/config.scm
+++ b/guix/config.scm
@@ -21,6 +21,17 @@
                   (full-name "Christian Grothoff")
                   (ssh-public-key (local-file "keys/ssh/grothoff.pub")))))
 
+;;; /etc/aliases
+;; this takes the local (repository!) aliases file and copies it to 
/etc/aliases
+;; in the resulting OS.
+(define %aliases-etc-service
+  (simple-service 'etc-/etc/aliases-init
+                  (with-imported-modules '((guix build utils))
+                    #~(begin
+                        (use-modules (guix build utils))
+                        (copy-file #$(local-file "../etc/aliases")
+                                   "/etc/aliases")))))
+
 ;;;
 ;;; The OS definition
 ;;;

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

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