summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Graves via Guix-patches via <guix-patches@gnu.org>2024-05-21 08:46:52 +0200
committerZheng Junjie <zhengjunjie@iscas.ac.cn>2024-05-22 15:21:09 +0800
commit6bcecb6898d0e205a705f3cfb4a3140f45dd7034 (patch)
treecb9580b1cd1ffa95745ef8e1a646e368c5e58ee7
parentd7a65f1e910aa41684d4cff62014312420848341 (diff)
downloadguix-patches-6bcecb6898d0e205a705f3cfb4a3140f45dd7034.tar
guix-patches-6bcecb6898d0e205a705f3cfb4a3140f45dd7034.tar.gz
import/elpa: Add proper file-name to origin.
This avoids the lint "the source file name should contain the package name" with generated packages. Change-Id: I61c81203d9f3cdd035e2b64a4c7a8d86d1f3dd50 Signed-off-by: Zheng Junjie <zhengjunjie@iscas.ac.cn>
-rw-r--r--guix/import/elpa.scm1
1 files changed, 1 insertions, 0 deletions
diff --git a/guix/import/elpa.scm b/guix/import/elpa.scm
index d1855b3698..46b6dc98a2 100644
--- a/guix/import/elpa.scm
+++ b/guix/import/elpa.scm
@@ -250,6 +250,7 @@ RECIPE."
(uri (git-reference
(url ,url)
(commit ,commit)))
+ (file-name (git-file-name name version))
(sha256
(base32
,(bytevector->nix-base32-string