diff options
author | Marius Bakke <marius@gnu.org> | 2022-01-08 11:33:18 +0100 |
---|---|---|
committer | Marius Bakke <marius@gnu.org> | 2022-01-08 11:38:47 +0100 |
commit | 1ee120a31bf6f5831d98df9e85860046348d79b8 (patch) | |
tree | 3c6adabbd6efc4b1c4c4580bb645fe0069a57e96 /gnu | |
parent | 6a9d0560abed5a4246698d724147ad15feed478b (diff) |
gnu: emacs-clang-rename: Remove input labels.
* gnu/packages/llvm.scm (emacs-clang-rename)[arguments]: Use SEARCH-INPUT-FILE
instead of label.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/llvm.scm | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gnu/packages/llvm.scm b/gnu/packages/llvm.scm index 83d926b60b..c7d071e155 100644 --- a/gnu/packages/llvm.scm +++ b/gnu/packages/llvm.scm @@ -1586,12 +1586,11 @@ C/C++/Obj-C code according to a set of style options, see (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}."))) |