~ruther/guix-local

db030303 — Ludovic Courtès 10 years ago
guix system: Add '--on-error'.

* guix/ui.scm (load*): Add #:on-error parameter.
  [tag, error-string]: New variables.
  Wrap 'load' call in 'call-with-prompt'.  Pass TAG to 'make-stack'.  Honor
  ON-ERROR after 'report-load-error' call.
  (report-load-error): Change to not exit on error.  Make private.
* guix/scripts/system.scm (show-help, %options): Add --on-error.
  (guix-system): Use 'load*' and pass it #:on-error.
5f1087c4 — Ludovic Courtès 10 years ago
guix package: --manifest DTRT when combined with --dry-run.

* guix/scripts/package.scm (guix-package)[process-actions]: Process 'manifest
  action regardless of whether 'dry-run? is set.  Adjust the message
  accordingly.
* tests/guix-package.sh: Add error-reporting test.
2abcc97f — Ludovic Courtès 10 years ago
ui: Auto-compile user code, and improve error reporting.

Reported by Christian Grothoff.

* guix/ui.scm (load*): Add 'frame-with-source'.  Set
  %load-should-auto-compile.  Change error handle to just (exit 1).  Add
  pre-unwind handler to capture the stack and call 'report-load-error'.
  (report-load-error): Add optional 'frame' parameter and pass it to
  'display-error'.
* tests/guix-system.sh: Add "unbound variable" test.
fbb25e56 — Ludovic Courtès 10 years ago
doc: Fix inaccurate wording in "operating-system Reference".

* doc/guix.texi (operating-system Reference): Add missing "kernel".
bf87f38a — Ludovic Courtès 10 years ago
system: Define '%base-user-accounts'.

* gnu/system/shadow.scm (%base-user-accounts): New variable.
* gnu/system.scm (<operating-system>)[users]: Use it as the default value.
* gnu/system/examples/bare-bones.tmpl (users): Use it.
* gnu/system/examples/desktop.tmpl (users): Likewise.
* doc/guix.texi (operating-system Reference, User Accounts): Adjust
  accordingly.
0899144f — Andreas Enge 10 years ago
gnu: Add xmlsec.

* gnu/packages/xml.scm (xmlsec): New variable.
0c09a306 — Ludovic Courtès 10 years ago
system: Make sure user accounts refer to existing groups.

Fixes <http://bugs.gnu.org/20646>.
Reported by David Thompson <davet@gnu.org>.

* gnu/system/shadow.scm (assert-valid-users/groups): New procedure
* gnu/system.scm (operating-system-activation-script): Use it.
* tests/guix-system.sh (make_user_config): New function.
  Add 3 tests using it.
* po/guix/POTFILES.in: Add gnu/system/shadow.scm.
6ec1f4ca — Ludovic Courtès 10 years ago
ui: Make 'symlink' replacement more future-proof.

* guix/ui.scm (symlink): Change next-to-last 'throw' argument to explicitly
  ignore ARGS; change last argument to (list errno).
9b14107f — Ludovic Courtès 10 years ago
ui: Add 'copy-file' replacement with better error reporting.

* guix/ui.scm (copy-file): New procedure.
f245b03d — Ludovic Courtès 10 years ago
guix system: init: Copy the closure of 'grub.cfg', not that of the system.

Fixes <http://bugs.gnu.org/20591>.
Reported by Daniel Pimentel <d4n1@openmailbox.org>.

* guix/scripts/system.scm (install): Copy the closure of GRUB.CFG rather than
  that of OS-DIR.
328639e4 — Ludovic Courtès 10 years ago
guix system: Always add zero previous entries in grub.cfg for 'init'.

* guix/scripts/system.scm (grub.cfg): Remove.
  (perform-action): Call 'operating-system-grub.cfg' with the empty list as
  the 2nd argument when ACTION is 'init.
4a1bf090 — Ricardo Wurmus 10 years ago
gnu: seahorse: Add SSH support.

* gnu/packages/gnome.scm (seahorse)[inputs]: Add "openssh".
df90c701 — Ricardo Wurmus 10 years ago
gnu: Add seahorse.

* gnu/packages/gnome.scm (seahorse): New variable.
e99a3d6f — Ricardo Wurmus 10 years ago
gnu: Add gnome-keyring.

* gnu/packages/gnome.scm (gnome-keyring): New variable.
8ff49011 — Ricardo Wurmus 10 years ago
gnu: Add GCR.

* gnu/packages/gnome.scm (gcr): New variable.
4a35a866 — Ludovic Courtès 10 years ago
guix system: init: Make sure the target is root-owned.

Suggested by Mark H Weaver <mhw@netris.org>.

* guix/scripts/system.scm (install): Add 'chown' and 'chmod' calls for TARGET
  when running as root, and warn otherwise.
40245ef3 — Ludovic Courtès 10 years ago
gnu: linux-boot: Remove outdated and misleading comment.

* gnu/build/linux-boot.scm (boot-system): Remove outdated comment.
53142109 — Andreas Enge 10 years ago
gnu: bluez: Install the library and header files.

* gnu/packages/linux.scm (bluez)[arguments]: Add --enable-library to
  #:configure-flags.
2e88d113 — Andreas Enge 10 years ago
gnu: dbus-glib: Propagate inputs dbus and glib.

* gnu/packages/glib.scm (dbus-glib): Propagate inputs dbus and glib.
* gnu/packages/audio.scm (patchage),
  gnu/packages/gnuzilla.scm (icecat),
  gnu/packages/python.scm (python-dbus): Drop inputs dbus and glib.
* gnu/packages/gnome.scm (colord, gconf, gnome-vfs, upower),
  gnu/packages/mail.scm (claws-mail),
  gnu/packages/messaging.scm (hexchat),
  gnu/packages/wicd.scm (wicd): Drop input dbus.
c71979f4 — Ludovic Courtès 10 years ago
doc: Add "Running Guix Before It Is Installed".

* doc/guix.texi (Running Guix Before It Is Installed): New node.
  (Packaging Guidelines): Refer to it.
Next