[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
07/08: profiles: Use a &message error condition instead of 'error'.
From: |
Ludovic Courtès |
Subject: |
07/08: profiles: Use a &message error condition instead of 'error'. |
Date: |
Mon, 04 May 2015 21:31:02 +0000 |
civodul pushed a commit to branch master
in repository guix.
commit 88aab8e3499ef6b6cb63e736ce324bb7910f85dd
Author: Ludovic Courtès <address@hidden>
Date: Mon May 4 22:41:31 2015 +0200
profiles: Use a &message error condition instead of 'error'.
* guix/profiles.scm (sexp->manifest): Use 'raise' instead of 'error'.
---
guix/profiles.scm | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/guix/profiles.scm b/guix/profiles.scm
index fd2afc0..8445e00 100644
--- a/guix/profiles.scm
+++ b/guix/profiles.scm
@@ -278,7 +278,8 @@ procedure is here for backward-compatibility and will
eventually vanish."
search-paths))))
name version output path deps search-paths)))
(_
- (error "unsupported manifest format" sexp))))
+ (raise (condition
+ (&message (message "unsupported manifest format")))))))
(define (read-manifest port)
"Return the packages listed in MANIFEST."
- branch master updated (2534fc0 -> 954cea3), Ludovic Courtès, 2015/05/04
- 01/08: substitute: Increase TTL from 24h to 36h., Ludovic Courtès, 2015/05/04
- 02/08: gnu: Add markdown., Ludovic Courtès, 2015/05/04
- 05/08: search-paths: Add 'environment-variable-definition'., Ludovic Courtès, 2015/05/04
- 07/08: profiles: Use a &message error condition instead of 'error'.,
Ludovic Courtès <=
- 06/08: search-paths: 'evaluate-search-paths' now returns spec/value pairs., Ludovic Courtès, 2015/05/04
- 03/08: Move search path specifications to (guix search-paths)., Ludovic Courtès, 2015/05/04
- 08/08: records: Make 'make-syntactic-constructor' available at load/eval/expand., Ludovic Courtès, 2015/05/04
- 04/08: search-paths: Add 'evaluate-search-paths', from (guix scripts package)., Ludovic Courtès, 2015/05/04