mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-26 06:18:07 -05:00
ui: Don't use hyphens in 'package->recutils' output.
* guix/ui.scm (package->recutils): Rename recutils field from 'home-page' to 'homepage'.
This commit is contained in:
parent
6869e5c90c
commit
8fa3e6b338
1 changed files with 6 additions and 2 deletions
|
@ -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 @@ (define (description->recutils str)
|
|||
(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) ...)
|
||||
|
|
Loading…
Reference in a new issue