~ruther/guix-local

9d9bb8955a939b89b5b28f1071b70ed9f9a54f8c — Carlo Zancanaro 2 years ago 8655270
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>
1 files changed, 1 insertions(+), 1 deletions(-)

M guix/scripts/import/elpa.scm
M guix/scripts/import/elpa.scm => guix/scripts/import/elpa.scm +1 -1
@@ 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)