diff options
| author | Ludovic Courtès <ludo@gnu.org> | 2019-03-22 14:06:54 +0100 |
|---|---|---|
| committer | Ludovic Courtès <ludo@gnu.org> | 2019-03-25 23:37:06 +0100 |
| commit | cf848cc0a17a3a58d600116896f6e7abfb0440d4 (patch) | |
| tree | 72dc8bed055908e869ce8737360c9352dd1618a0 /gnu/tests.scm | |
| parent | abd4d6b33dba4de228e90ad15a8efb456fcf7b6e (diff) | |
accounts: Add default value for the 'home-directory' field of <user-account>.
* gnu/system/accounts.scm (<user-account>)[home-directory]: Mark as
thunked and add a default value.
(default-home-directory): New procedure.
* doc/guix.texi (User Accounts): Remove 'home-directory' from example.
* gnu/system/examples/bare-bones.tmpl: Likewise.
* gnu/system/examples/beaglebone-black.tmpl: Likewise.
* gnu/system/examples/desktop.tmpl: Likewise.
* gnu/system/examples/docker-image.tmpl: Likewise.
* gnu/system/examples/lightweight-desktop.tmpl: Likewise.
* gnu/system/install.scm (installation-os): Likewise.
* gnu/tests.scm (%simple-os): Likewise.
* gnu/tests/install.scm (%minimal-os, %minimal-os-on-vda):
(%separate-home-os, %encrypted-root-os, %btrfs-root-os): Likewise.
* tests/accounts.scm ("allocate-passwd")
("allocate-passwd with previous state"): Likewise.
Diffstat (limited to 'gnu/tests.scm')
| -rw-r--r-- | gnu/tests.scm | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gnu/tests.scm b/gnu/tests.scm index 9e8eed7d950..0871b4c6f77 100644 --- a/gnu/tests.scm +++ b/gnu/tests.scm | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | ;;; GNU Guix --- Functional package management for GNU | 1 | ;;; GNU Guix --- Functional package management for GNU |
| 2 | ;;; Copyright © 2016, 2017, 2018 Ludovic Courtès <ludo@gnu.org> | 2 | ;;; Copyright © 2016, 2017, 2018, 2019 Ludovic Courtès <ludo@gnu.org> |
| 3 | ;;; Copyright © 2017 Mathieu Othacehe <m.othacehe@gmail.com> | 3 | ;;; Copyright © 2017 Mathieu Othacehe <m.othacehe@gmail.com> |
| 4 | ;;; Copyright © 2017 Tobias Geerinckx-Rice <me@tobias.gr> | 4 | ;;; Copyright © 2017 Tobias Geerinckx-Rice <me@tobias.gr> |
| 5 | ;;; | 5 | ;;; |
| @@ -219,8 +219,7 @@ the system under test." | |||
| 219 | (name "alice") | 219 | (name "alice") |
| 220 | (comment "Bob's sister") | 220 | (comment "Bob's sister") |
| 221 | (group "users") | 221 | (group "users") |
| 222 | (supplementary-groups '("wheel" "audio" "video")) | 222 | (supplementary-groups '("wheel" "audio" "video"))) |
| 223 | (home-directory "/home/alice")) | ||
| 224 | %base-user-accounts)))) | 223 | %base-user-accounts)))) |
| 225 | 224 | ||
| 226 | (define-syntax-rule (simple-operating-system user-services ...) | 225 | (define-syntax-rule (simple-operating-system user-services ...) |
