[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
16/17: import: elpa: Emit new-style package inputs.
From: |
guix-commits |
Subject: |
16/17: import: elpa: Emit new-style package inputs. |
Date: |
Sat, 10 Jul 2021 19:07:13 -0400 (EDT) |
civodul pushed a commit to branch core-updates
in repository guix.
commit ab270bf2e9e301b14fe90c36976835331d67acf5
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Wed Jun 30 16:09:00 2021 +0200
import: elpa: Emit new-style package inputs.
* guix/import/elpa.scm (elpa-package->sexp)[dependencies]: Turn into a
list of symbols.
[maybe-inputs]: Wrap in 'list' instead of 'quasiquote'.
---
guix/import/elpa.scm | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/guix/import/elpa.scm b/guix/import/elpa.scm
index c0dc5ac..0a1c414 100644
--- a/guix/import/elpa.scm
+++ b/guix/import/elpa.scm
@@ -350,9 +350,7 @@ type '<elpa-package>'."
(elpa-package-inputs pkg))))
(define dependencies
- (map (lambda (n)
- (let ((new-n (elpa-name->package-name n)))
- (list new-n (list 'unquote (string->symbol new-n)))))
+ (map (compose string->symbol elpa-name->package-name)
dependencies-names))
(define (maybe-inputs input-type inputs)
@@ -360,8 +358,7 @@ type '<elpa-package>'."
(()
'())
((inputs ...)
- (list (list input-type
- (list 'quasiquote inputs))))))
+ (list (list input-type `(list ,@inputs))))))
(define melpa-source
(melpa-recipe->origin melpa-recipe))
- branch core-updates updated (2a3cd4e -> 9b4c3c6), guix-commits, 2021/07/10
- 01/17: records: Support field sanitizers., guix-commits, 2021/07/10
- 08/17: utils: Add 'go-to-location' with source location caching., guix-commits, 2021/07/10
- 06/17: gnu: Change inputs of core packages to plain lists., guix-commits, 2021/07/10
- 07/17: utils: 'edit-expression' no longer leaks file ports., guix-commits, 2021/07/10
- 14/17: import: cran: Emit new-style package inputs., guix-commits, 2021/07/10
- 13/17: import: pypi: Emit new-style package inputs., guix-commits, 2021/07/10
- 10/17: utils: 'edit-expression' copies part of the original source map., guix-commits, 2021/07/10
- 09/17: utils: 'edit-expression' modifies the file only if necessary., guix-commits, 2021/07/10
- 16/17: import: elpa: Emit new-style package inputs.,
guix-commits <=
- 17/17: news: Add news entry for simplified package inputs., guix-commits, 2021/07/10
- 04/17: packages: Add 'lookup-package-input' & co., guix-commits, 2021/07/10
- 02/17: packages: Allow inputs to be plain package lists., guix-commits, 2021/07/10
- 03/17: lint: Add 'input-labels' checker., guix-commits, 2021/07/10
- 11/17: Add 'guix style'., guix-commits, 2021/07/10
- 05/17: packages: Add 'modify-inputs'., guix-commits, 2021/07/10
- 12/17: packages: 'hidden-package' inherits the original package location., guix-commits, 2021/07/10
- 15/17: import: print: Emit new-style package inputs when possible., guix-commits, 2021/07/10