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>
This commit is contained in:
parent
86552708c3
commit
9d9bb8955a
@ -104,7 +104,7 @@ Import the latest package named PACKAGE-NAME from an ELPA repository.\n"))
|
||||
#:repo (assoc-ref opts 'repo)))
|
||||
((or #f '())
|
||||
(leave (G_ "failed to download meta-data for package '~a'~%") package-name))
|
||||
(('package etc ...) `(package ,etc))
|
||||
(('package etc ...) `(package ,@etc))
|
||||
((? list? sexps) (map
|
||||
(match-lambda
|
||||
((and ('package ('name name) . rest) pkg)
|
||||
|
Loading…
Reference in New Issue
Block a user