mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 05:18:07 -05:00
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:
parent
aaa4f5193c
commit
905783b7cd
1 changed files with 16 additions and 14 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue