gnu: mcelog: Update to 179.

* gnu/packages/linux.scm (mcelog): Update to 179.
[source]: Don't explicitly return #t from snippet.
This commit is contained in:
Tobias Geerinckx-Rice 2021-11-03 03:00:15 +01:00
parent 2fb6510746
commit c970c4d04b
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -6387,7 +6387,7 @@ (define-public module-init-tools
(define-public mcelog (define-public mcelog
(package (package
(name "mcelog") (name "mcelog")
(version "176") (version "179")
(source (source
(origin (origin
(method git-fetch) (method git-fetch)
@ -6396,14 +6396,13 @@ (define-public mcelog
(commit (string-append "v" version)))) (commit (string-append "v" version))))
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 "1mlwn6ck9qiwqa2vg5wg1gvfva3jv7ygjr7p7bam0qszajs5pirk")) (base32 "0fz9j0p8jyp4m09wshl8cdhdvrdidf29bjp9hgwvv6xvg8lma06g"))
(modules '((guix build utils))) (modules '((guix build utils)))
(snippet (snippet
`(begin `(begin
;; The checkout lacks a .git directory, breaking git describe. ;; The checkout lacks a .git directory, breaking git describe.
(substitute* "Makefile" (substitute* "Makefile"
(("\"unknown\"") (string-append "\"v" ,version "\""))) (("\"unknown\"") (string-append "\"v" ,version "\"")))))))
#t))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
`(#:phases (modify-phases %standard-phases `(#:phases (modify-phases %standard-phases