mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-27 14:52:05 -05:00
import/print: package->code: Fix license object.
* guix/import/print.scm (package->code)<license->code>: Update generated licence object to match record constructor. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
703f932cc9
commit
51157d474f
1 changed files with 3 additions and 3 deletions
|
@ -60,9 +60,9 @@ (define (license->code lic)
|
||||||
(if var
|
(if var
|
||||||
(symbol-append 'license: var)
|
(symbol-append 'license: var)
|
||||||
`(license
|
`(license
|
||||||
(name ,(license-name lic))
|
,(license-name lic)
|
||||||
(uri ,(license-uri lic))
|
,(license-uri lic)
|
||||||
(comment ,(license-comment lic))))))
|
,(license-comment lic)))))
|
||||||
|
|
||||||
(define (search-path-specification->code spec)
|
(define (search-path-specification->code spec)
|
||||||
`(search-path-specification
|
`(search-path-specification
|
||||||
|
|
Loading…
Reference in a new issue