gnu: ugrep: Use GIT-FILE-NAME helper.

* gnu/packages/search.scm (ugrep)[source]: Use GIT-FILE-NAME.
This commit is contained in:
Tobias Geerinckx-Rice 2021-04-27 15:51:06 +02:00
parent 4206cf1fa8
commit 19f67a9197
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -428,7 +428,7 @@ (define-public ugrep
(commit (string-append "v" version))))
(sha256
(base32 "06y61sf2ywjaix4nss11wwkxipj8cc9ccx6bsmdm31h8d8wd2s0j"))
(file-name (string-append name "-" version "-checkout"))
(file-name (git-file-name name version))
(modules '((guix build utils)))
(snippet
'(begin