mirror of
https://codeberg.org/guix/guix.git
synced 2026-01-25 03:55:08 -06:00
gnu: Simplify tree-sitter-clojure.
* gnu/packages/tree-sitter.scm (tree-sitter-clojure): Remove custom get-cleanup-snippet. Change-Id: Ifdae578ed9db1ddd7729a85a8f0d8d1a9e421d82 Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
This commit is contained in:
parent
6713806436
commit
af54bba287
1 changed files with 1 additions and 13 deletions
|
|
@ -451,19 +451,7 @@ which will be used as a snippet in origin."
|
|||
"clojure" "Clojure"
|
||||
"1j41ba48sid6blnfzn6s9vsl829qxd86lr6yyrnl95m42x8q5cx4"
|
||||
"0.0.13"
|
||||
#:repository-url "https://github.com/sogaiu/tree-sitter-clojure"
|
||||
#:get-cleanup-snippet
|
||||
(lambda (grammar-directories)
|
||||
#~(begin
|
||||
(use-modules (guix build utils))
|
||||
(for-each
|
||||
(lambda (lang)
|
||||
(with-directory-excursion lang
|
||||
(delete-file "src/grammar.json")
|
||||
(delete-file "src/node-types.json")
|
||||
(delete-file "src/parser.c")
|
||||
(delete-file-recursively "src/tree_sitter")))
|
||||
'#$grammar-directories)))))
|
||||
#:repository-url "https://github.com/sogaiu/tree-sitter-clojure"))
|
||||
|
||||
(define-public tree-sitter-cmake
|
||||
(tree-sitter-grammar
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue