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>
This commit is contained in:
Nicolas Graves via Guix-patches via 2024-05-21 08:46:52 +02:00 committed by Zheng Junjie
parent d7a65f1e91
commit 6bcecb6898
No known key found for this signature in database
GPG key ID: 3B5AA993E1A2DFF0

View file

@ -250,6 +250,7 @@ (define ref
(uri (git-reference
(url ,url)
(commit ,commit)))
(file-name (git-file-name name version))
(sha256
(base32
,(bytevector->nix-base32-string