guix-commits
[Top][All Lists]
Advanced

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

02/04: doc: Update 'skeletons' field documentation.


From: Ludovic Courtès
Subject: 02/04: doc: Update 'skeletons' field documentation.
Date: Sat, 16 Apr 2016 23:24:33 +0000

civodul pushed a commit to branch master
in repository guix.

commit e9dffec1265233c3b37ef61538b51f121a420ffa
Author: Ludovic Courtès <address@hidden>
Date:   Sat Apr 16 12:42:04 2016 +0200

    doc: Update 'skeletons' field documentation.
    
    * doc/guix.texi (operating-system Reference): Update documentation of
    'skeletons' as a followup to e79467f63a06811ba5dd8c8b0cc79553c5dd4e3a.
---
 doc/guix.texi |   12 +++++++-----
 1 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/doc/guix.texi b/doc/guix.texi
index 8088167..34683d2 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -6426,15 +6426,17 @@ For example, @code{'("/dev/sda3")}.
 List of user accounts and groups.  @xref{User Accounts}.
 
 @item @code{skeletons} (default: @code{(default-skeletons)})
-A monadic list of pairs of target file name and files.  These are the
-files that will be used as skeletons as new accounts are created.
+A list target file name/file-like object tuples (@pxref{G-Expressions,
+file-like objects}).  These are the skeleton files that will be added to
+the home directory of newly-created user accounts.
 
 For instance, a valid value may look like this:
 
 @example
-(mlet %store-monad ((bashrc (text-file "bashrc" "\
-     export PATH=$HOME/.guix-profile/bin")))
-  (return `((".bashrc" ,bashrc))))
+`((".bashrc" ,(plain-file "bashrc" "echo Hello\n"))
+  (".guile" ,(plain-file "guile"
+                         "(use-modules (ice-9 readline))
+                          (activate-readline)")))
 @end example
 
 @item @code{issue} (default: @var{%default-issue})



reply via email to

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