guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: scripts: import: elpa: Unquote-splice package sex


From: guix-commits
Subject: branch master updated: scripts: import: elpa: Unquote-splice package sexp contents.
Date: Wed, 06 Mar 2024 05:11:26 -0500

This is an automated email from the git hooks/post-receive script.

rekado pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 9d9bb8955a scripts: import: elpa: Unquote-splice package sexp contents.
9d9bb8955a is described below

commit 9d9bb8955a939b89b5b28f1071b70ed9f9a54f8c
Author: Carlo Zancanaro <carlo@zancanaro.id.au>
AuthorDate: Wed Mar 6 16:38:54 2024 +1100

    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>
---
 guix/scripts/import/elpa.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]