mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-27 04:59:27 -05:00
gnu: emacs-clang-format: Remove input labels.
* gnu/packages/llvm.scm (emacs-clang-format)[arguments]: Use SEARCH-INPUT-FILE instead of label.
This commit is contained in:
parent
2db689b669
commit
6a9d0560ab
1 changed files with 2 additions and 3 deletions
|
@ -1563,12 +1563,11 @@ (define-public emacs-clang-format
|
|||
(modify-phases %standard-phases
|
||||
(add-after 'unpack 'configure
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
(let ((clang (assoc-ref inputs "clang")))
|
||||
(let ((clang-format (search-input-file inputs "/bin/clang-format")))
|
||||
(copy-file "tools/clang-format/clang-format.el" "clang-format.el")
|
||||
(emacs-substitute-variables "clang-format.el"
|
||||
("clang-format-executable"
|
||||
(string-append clang "/bin/clang-format"))))
|
||||
#t)))))
|
||||
clang-format))))))))
|
||||
(synopsis "Format code using clang-format")
|
||||
(description "This package filters code through @code{clang-format}
|
||||
to fix its formatting. @code{clang-format} is a tool that formats
|
||||
|
|
Loading…
Reference in a new issue