diff options
author | Ludovic Courtès <ludo@gnu.org> | 2014-01-13 18:49:26 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2014-01-13 18:49:26 +0100 |
commit | 8fa3e6b338fa9e2534ea971269ac2d3ed49a305b (patch) | |
tree | ffe8861d3bbc6412a25a133587bec78c59bc82f4 /guix/ui.scm | |
parent | 6869e5c90c3d7861150dba96fc97ee87892da83f (diff) |
ui: Don't use hyphens in 'package->recutils' output.
* guix/ui.scm (package->recutils): Rename recutils field from
'home-page' to 'homepage'.
Diffstat (limited to 'guix/ui.scm')
-rw-r--r-- | guix/ui.scm | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/guix/ui.scm b/guix/ui.scm index f15419f7a8..2b1a5af199 100644 --- a/guix/ui.scm +++ b/guix/ui.scm @@ -1,5 +1,5 @@ ;;; GNU Guix --- Functional package management for GNU -;;; Copyright © 2012, 2013 Ludovic Courtès <ludo@gnu.org> +;;; Copyright © 2012, 2013, 2014 Ludovic Courtès <ludo@gnu.org> ;;; Copyright © 2013 Mark H Weaver <mhw@netris.org> ;;; Copyright © 2013 Nikita Karetnikov <nikita@karetnikov.org> ;;; @@ -404,7 +404,11 @@ WIDTH columns." (format port "location: ~a~%" (or (and=> (package-location p) location->string) (_ "unknown"))) - (format port "home-page: ~a~%" (package-home-page p)) + + ;; Note: Starting from version 1.6 or recutils, hyphens are not allowed in + ;; field identifiers. + (format port "homepage: ~a~%" (package-home-page p)) + (format port "license: ~a~%" (match (package-license p) (((? license? licenses) ...) |