guix-devel/guix
Ludovic Courtès ab6a279abb system: Make accounts and groups at activation time.
* gnu/services/base.scm (guix-build-accounts): Remove #:gid parameter;
  add #:group.  Remove 'password' and 'gid' fields in 'user-account'
  form, and add 'group'.
  (guix-service): Remove #:build-user-gid parameter.  Remove 'id' field
  in 'user-group' form.
* gnu/system.scm (etc-directory): Remove #:groups and #:accounts.  No
  longer produce files "passwd", "shadow", and "group".  Adjust caller
  accordingly.
  (%root-account): New variable.
  (operating-system-accounts): Add 'users' variable.  Add %ROOT-ACCOUNT
  only of 'operating-system-users' doesn't already contain a root
  account.
  (user-group->gexp, user-account->gexp): New procedures.
  (operating-system-boot-script): Add calls to 'setenv' and
  'activate-users+groups' in gexp.
* gnu/system/linux.scm (base-pam-services): Add PAM services for
  "user{add,del,mode}" and "group{add,del,mod}".
* gnu/system/shadow.scm (<user-account>)[gid]: Rename to...
  [group]: ... this.
  [supplementary-groups]: New field.
  [uid, password]: Default to #f.
  (<user-group>)[id]: Default to #f.
  (group-file, passwd-file): Remove.
* gnu/system/vm.scm (operating-system-default-contents)[user-directories]:
  Remove.  Add "/home" to the directives.
* guix/build/activation.scm (add-group, add-user,
  activate-users+groups): New procedures.
2014-05-11 22:41:58 +02:00
..
build system: Make accounts and groups at activation time. 2014-05-11 22:41:58 +02:00
build-system build-system/perl: Honour phases argument in perl build system. 2013-12-09 13:50:58 +01:00
scripts pk-crypto: Add pretty-printer to 'gcry-error' exceptions. 2014-04-22 11:41:52 +02:00
base32.scm Update license headers. 2013-01-06 00:47:50 +01:00
base64.scm substitute-binary: Support the Signature field of a narinfo file. 2014-03-30 12:02:10 +02:00
build-system.scm Move record utilities to (guix records). 2013-05-12 15:46:16 +02:00
config.scm.in build: Change state and log directories to $localstatedir/.../guix. 2014-03-09 22:10:01 +01:00
derivations.scm derivations: Micro-optimize 'derivation'. 2014-04-29 18:13:10 +02:00
download.scm download: Rewrite using gexps. 2014-05-01 22:31:36 +02:00
ftp-client.scm ftp-client: Add missing CR in "USER" command. 2014-05-03 00:46:51 +02:00
gexp.scm monads, gexp: Remove unintended dependency on (gnu packages …). 2014-05-01 22:31:36 +02:00
git-download.scm download: Perform derivations locally. 2014-03-06 21:42:24 +01:00
gnu-maintenance.scm gnu-maintenance: Add missing type check. 2014-05-05 09:00:00 +02:00
gnupg.scm guix refresh: Add '--key-download'. 2013-06-10 08:15:17 +00:00
hash.scm hash: Add 'open-sha256-input-port', for Guile > 2.0.9. 2014-01-24 00:01:49 +01:00
http-client.scm substitute-binary: Gracefully handle HTTP GET errors. 2014-03-01 15:38:11 +01:00
licenses.scm licenses: Fix Nixpkgs license URL. 2014-03-22 22:57:09 +01:00
monads.scm monads, gexp: Remove unintended dependency on (gnu packages …). 2014-05-01 22:31:36 +02:00
nar.scm pk-crypto: Add pretty-printer to 'gcry-error' exceptions. 2014-04-22 11:41:52 +02:00
packages.scm packages: Correctly handle patching for inputs with no extension. 2014-04-12 14:39:43 +02:00
pk-crypto.scm pk-crypto: Add pretty-printer to 'gcry-error' exceptions. 2014-04-22 11:41:52 +02:00
pki.scm pki: Introduce 'write-acl', and fix wrong conversion in 'ensure-acl'. 2014-04-04 00:23:17 +02:00
profiles.scm Prefer local builds for "small" derivations. 2014-01-25 17:22:53 +01:00
records.scm records: define-record-type*: Field bindings are bound with 'let*'. 2013-10-15 23:31:22 +02:00
serialization.scm store: Add #:timeout build option. 2014-03-09 23:01:18 +01:00
snix.scm snix: Prefer descriptions from the Womb rather than from Nixpkgs. 2013-10-09 16:18:23 +02:00
store.scm store: (direct-store-path? (%store-prefix)) returns #f. 2014-04-28 23:24:18 +02:00
svn-download.scm Add (guix svn-download). 2014-03-27 00:21:44 +01:00
ui.scm monads: Hide 'derivation-expression' and 'lower-inputs'. 2014-04-28 23:41:12 +02:00
utils.scm Add (guix build syscalls). 2014-05-10 22:55:34 +02:00