mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00: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,17 +1654,19 @@ supports type hints, definition-jumping, completion, and more.")
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list emacs-shut-up))
|
(list emacs-shut-up))
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases
|
(list
|
||||||
(modify-phases %standard-phases
|
#:phases
|
||||||
|
#~(modify-phases %standard-phases
|
||||||
(add-after 'unpack 'change-flycheck-version
|
(add-after 'unpack 'change-flycheck-version
|
||||||
(lambda _
|
(lambda _
|
||||||
(substitute* "flycheck.el"
|
(substitute* "flycheck.el"
|
||||||
(("\\(pkg-info-version-info 'flycheck\\)")
|
(("\\(pkg-info-version-info 'flycheck\\)")
|
||||||
(string-append "\"" ,version "\"")))
|
(string-append "\"" #$version "\""))))))
|
||||||
#t)))
|
|
||||||
;; TODO: many failing tests
|
;; TODO: many failing tests
|
||||||
#:tests? #f
|
#:tests? #f
|
||||||
#:test-command '("emacs" "-Q" "--batch" "-L" "."
|
#:test-command
|
||||||
|
#~(list "emacs" "-Q" "--batch"
|
||||||
|
"-L" "."
|
||||||
"--load" "test/flycheck-test"
|
"--load" "test/flycheck-test"
|
||||||
"--load" "test/run.el"
|
"--load" "test/run.el"
|
||||||
"-f" "flycheck-run-tests-main")))
|
"-f" "flycheck-run-tests-main")))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue