1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-09 06:30:36 +02: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:
itd
2021-07-18 22:01:00 +02:00
committed by Ludovic Courtès
parent 703f932cc9
commit 51157d474f

View File

@@ -60,9 +60,9 @@ when evaluated."
(if var
(symbol-append 'license: var)
`(license
(name ,(license-name lic))
(uri ,(license-uri lic))
(comment ,(license-comment lic))))))
,(license-name lic)
,(license-uri lic)
,(license-comment lic)))))
(define (search-path-specification->code spec)
`(search-path-specification