mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 05:18:07 -05:00
gnu: emacs-flycheck-ledger: Improve package style.
* gnu/packages/emacs-xyz.scm (emacs-flycheck-ledger)[arguments]: Use G-expressions. Remove trailing #T.
This commit is contained in:
parent
981cea226d
commit
f32bc54c98
1 changed files with 10 additions and 10 deletions
|
@ -6035,17 +6035,17 @@ (define-public emacs-flycheck-ledger
|
|||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32 "1djrj3is0dzrl2703bw7bclf33dp4xqmy144q7xj5pvpb9v3kf50"))))
|
||||
(inputs (list ledger))
|
||||
(arguments
|
||||
`(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'unpack 'configure
|
||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||
(let ((ledger (assoc-ref inputs "ledger")))
|
||||
;; Specify the absolute executable location of ledger.
|
||||
(substitute* "flycheck-ledger.el"
|
||||
(("\"ledger\"") (string-append "\"" ledger "\""))))
|
||||
#t)))))
|
||||
(list
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'configure
|
||||
(lambda _
|
||||
(let ((ledger #$(this-package-input "ledger")))
|
||||
;; Specify the absolute executable location of ledger.
|
||||
(substitute* "flycheck-ledger.el"
|
||||
(("\"ledger\"") (string-append "\"" ledger "\"")))))))))
|
||||
(inputs (list ledger))
|
||||
(propagated-inputs
|
||||
(list emacs-flycheck))
|
||||
(build-system emacs-build-system)
|
||||
|
|
Loading…
Reference in a new issue