guix-play/guix/scripts
Ludovic Courtès ef86c39f27 ui: Gracefully report failures to connect to the daemon.
* guix/store.scm (&nix-connection-error): New condition type.
  (open-connection): Translate `system-error' during the `connect' call
  into `&nix-connection-error'.
* guix/ui.scm (call-with-error-handling): Add case for `nix-connection-error?'.
* guix/scripts/package.scm (guix-package): Move `open-connection' call
  within `with-error-handling'.
* guix/scripts/pull.scm (guix-pull): Likewise.
* guix/scripts/download.scm (guix-download): Move body within
  `with-error-handling'.
2013-03-07 19:44:14 +01:00
..
build.scm ui: Factorize `read/eval-package-expression'. 2013-03-01 21:55:42 +01:00
download.scm ui: Gracefully report failures to connect to the daemon. 2013-03-07 19:44:14 +01:00
gc.scm guix gc: Add --references' and --referrers'. 2013-02-27 23:16:00 +01:00
import.scm scripts: Remove hyphen in the command name shown by `--version'. 2013-02-17 22:19:32 +01:00
package.scm ui: Gracefully report failures to connect to the daemon. 2013-03-07 19:44:14 +01:00
pull.scm ui: Gracefully report failures to connect to the daemon. 2013-03-07 19:44:14 +01:00