summaryrefslogtreecommitdiff
path: root/guix/gnu-maintenance.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2013-04-27 22:52:43 +0200
committerLudovic Courtès <ludo@gnu.org>2013-04-27 22:52:43 +0200
commitc4ca12c15b27cc13b747c184abde1e9de3c46606 (patch)
treee1034f967e16ee31b558bf1c37895f7e4f98ef34 /guix/gnu-maintenance.scm
parent4056b8288297c7c918cab091f8a49bcf031c5b10 (diff)
downloadgnu-guix-c4ca12c15b27cc13b747c184abde1e9de3c46606.tar
gnu-guix-c4ca12c15b27cc13b747c184abde1e9de3c46606.tar.gz
gnu-maintenance: Fix error message of `update-package-source'.
* guix/gnu-maintenance.scm (update-package-source): In the (not loc) case, pass the location first and convert it to a string.
Diffstat (limited to 'guix/gnu-maintenance.scm')
-rw-r--r--guix/gnu-maintenance.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/guix/gnu-maintenance.scm b/guix/gnu-maintenance.scm
index c66d5f75ca..96b0a57a5c 100644
--- a/guix/gnu-maintenance.scm
+++ b/guix/gnu-maintenance.scm
@@ -438,6 +438,7 @@ if an update was made, and #f otherwise."
(begin
(format (current-error-port)
(_ "~a: ~a: no `version' field in source; skipping~%")
- name (package-location package))))))
+ (location->string (package-location package))
+ name)))))
;;; gnu-maintenance.scm ends here