mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-26 06:18:07 -05:00
gnu: emacs-flycheck: Don't rely on pkg-info.el for 'flycheck-version'.
* gnu/packages/emacs.scm (flycheck)[source]: Add 'modules' and 'snippet'.
This commit is contained in:
parent
26fd7b24ec
commit
223779c4c5
1 changed files with 9 additions and 1 deletions
|
@ -733,7 +733,15 @@ (define-public flycheck
|
|||
version "/flycheck-" version ".tar"))
|
||||
(sha256
|
||||
(base32
|
||||
"01rnwan16m7cyyrfca3c5c60mbj2r3knkpzbhji2fczsf0wns240"))))
|
||||
"01rnwan16m7cyyrfca3c5c60mbj2r3knkpzbhji2fczsf0wns240"))
|
||||
(modules '((guix build utils)))
|
||||
(snippet `(begin
|
||||
;; Change 'flycheck-version' so that it does not
|
||||
;; attempt to get its version from pkg-info.el.
|
||||
(substitute* "flycheck.el"
|
||||
(("\\(pkg-info-version-info 'flycheck\\)")
|
||||
(string-append "\"" ,version "\"")))
|
||||
#t))))
|
||||
(build-system emacs-build-system)
|
||||
(propagated-inputs
|
||||
`(("emacs-dash" ,emacs-dash)))
|
||||
|
|
Loading…
Reference in a new issue