aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlo Zancanaro <carlo@zancanaro.id.au>2024-03-06 16:38:54 +1100
committerRicardo Wurmus <rekado@elephly.net>2024-03-06 11:09:55 +0100
commit9d9bb8955a939b89b5b28f1071b70ed9f9a54f8c (patch)
treecaf2c5e0aa42ae4674a464351eb090a493a2f180
parent86552708c31e628d98f8ca261edb22c01fbd7445 (diff)
downloadguix-9d9bb8955a939b89b5b28f1071b70ed9f9a54f8c.tar.gz
guix-9d9bb8955a939b89b5b28f1071b70ed9f9a54f8c.zip
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>
-rw-r--r--guix/scripts/import/elpa.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/guix/scripts/import/elpa.scm b/guix/scripts/import/elpa.scm
index f587eeb243..7f77beaac0 100644
--- a/guix/scripts/import/elpa.scm
+++ b/guix/scripts/import/elpa.scm
@@ -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)