gnu: emacs-clang-rename: Remove input labels.

* gnu/packages/llvm.scm (emacs-clang-rename)[arguments]: Use SEARCH-INPUT-FILE
instead of label.
This commit is contained in:
Marius Bakke 2022-01-08 11:33:18 +01:00
parent 6a9d0560ab
commit 1ee120a31b
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -1586,12 +1586,11 @@ (define-public emacs-clang-rename
(modify-phases %standard-phases
(add-after 'unpack 'configure
(lambda* (#:key inputs #:allow-other-keys)
(let ((clang (assoc-ref inputs "clang")))
(let ((clang-rename (search-input-file inputs "/bin/clang-rename")))
(copy-file "tools/clang-rename/clang-rename.el" "clang-rename.el")
(emacs-substitute-variables "clang-rename.el"
("clang-rename-binary"
(string-append clang "/bin/clang-rename"))))
#t)))))
clang-rename))))))))
(synopsis "Rename every occurrence of a symbol using clang-rename")
(description "This package renames every occurrence of a symbol at point
using @code{clang-rename}.")))