me
/
guix
Archived
1
0
Fork 0

scripts: import: elpa: Unquote-splice package sexp contents.

* guix/scripts/import/elpa.scm (guix-import-elpa): Unquote-splice the contents
of the package sexp so the matched package definition is returned unchanged.

Change-Id: Iaaa7e72390c73c6d6671811fe9ac284d599b44c6
Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
master
Carlo Zancanaro 2024-03-06 16:38:54 +11:00 committed by Ricardo Wurmus
parent 86552708c3
commit 9d9bb8955a
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 1 additions and 1 deletions

View File

@ -104,7 +104,7 @@ Import the latest package named PACKAGE-NAME from an ELPA repository.\n"))
#:repo (assoc-ref opts 'repo))) #:repo (assoc-ref opts 'repo)))
((or #f '()) ((or #f '())
(leave (G_ "failed to download meta-data for package '~a'~%") package-name)) (leave (G_ "failed to download meta-data for package '~a'~%") package-name))
(('package etc ...) `(package ,etc)) (('package etc ...) `(package ,@etc))
((? list? sexps) (map ((? list? sexps) (map
(match-lambda (match-lambda
((and ('package ('name name) . rest) pkg) ((and ('package ('name name) . rest) pkg)