summary refs log tree commit diff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2014-02-19 21:30:16 +0100
committerLudovic Courtès <ludo@gnu.org>2014-02-19 21:30:16 +0100
commit9038298cbf645cc85ab85e5fe47cab9737a15c50 (patch)
tree0e53d87fb23fbe6fcfacfe0155490a74d991877d
parent0b14d1d7e36eb9b4fa38898d2a1e7e414cbbe735 (diff)
downloadguix-9038298cbf645cc85ab85e5fe47cab9737a15c50.tar.gz
gnu: Add /etc/shells.
* gnu/system.scm (etc-directory): Add /etc/shells.
-rw-r--r--gnu/system.scm6
1 files changed, 6 insertions, 0 deletions
diff --git a/gnu/system.scm b/gnu/system.scm
index e6346106a2..d28738140f 100644
--- a/gnu/system.scm
+++ b/gnu/system.scm
@@ -227,6 +227,11 @@ directories or regular files."
        (group      (group-file groups))
        (pam.d      (pam-services->directory pam-services))
        (login.defs (text-file "login.defs" "# Empty for now.\n"))
+       (shells     (text-file "shells"            ; used by xterm and others
+                              "\
+/bin/sh
+/run/current-system/bin/sh
+/run/current-system/bin/bash\n"))
        (issue      (text-file "issue" "
 This is an alpha preview of the GNU system.  Welcome.
 
@@ -260,6 +265,7 @@ alias ll='ls -l'
                    ("pam.d" ,(derivation->output-path pam.d))
                    ("login.defs" ,login.defs)
                    ("issue" ,issue)
+                   ("shells" ,shells)
                    ("profile" ,(derivation->output-path bashrc))
                    ("localtime" ,tz-file)
                    ("passwd" ,passwd)