gnu: emacs-flycheck: Improve package style.

* gnu/packages/emacs-xyz.scm (emacs-flycheck)[arguments]: Use
G-expressions.  Remove trailing #T.
This commit is contained in:
Nicolas Goaziou 2022-02-18 21:10:33 +01:00
parent aaa4f5193c
commit 905783b7cd
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -1654,20 +1654,22 @@ (define-public emacs-flycheck
(native-inputs
(list emacs-shut-up))
(arguments
`(#:phases
(modify-phases %standard-phases
(add-after 'unpack 'change-flycheck-version
(lambda _
(substitute* "flycheck.el"
(("\\(pkg-info-version-info 'flycheck\\)")
(string-append "\"" ,version "\"")))
#t)))
;; TODO: many failing tests
#:tests? #f
#:test-command '("emacs" "-Q" "--batch" "-L" "."
"--load" "test/flycheck-test"
"--load" "test/run.el"
"-f" "flycheck-run-tests-main")))
(list
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'change-flycheck-version
(lambda _
(substitute* "flycheck.el"
(("\\(pkg-info-version-info 'flycheck\\)")
(string-append "\"" #$version "\""))))))
;; TODO: many failing tests
#:tests? #f
#:test-command
#~(list "emacs" "-Q" "--batch"
"-L" "."
"--load" "test/flycheck-test"
"--load" "test/run.el"
"-f" "flycheck-run-tests-main")))
(home-page "https://www.flycheck.org")
(synopsis "On-the-fly syntax checking")
(description