Use commit of guile-ts supporting TREE_SITTER_GRAMMAR_PATH
This commit is contained in:
parent
57ce73370d
commit
eff0f10911
1 changed files with 154 additions and 149 deletions
9
guix.scm
9
guix.scm
|
@ -8,11 +8,16 @@
|
|||
(guix build-system gnu)
|
||||
(guix download)
|
||||
(guix gexp)
|
||||
(guix transformations)
|
||||
((guix licenses)
|
||||
#:prefix license:)
|
||||
(guix packages)
|
||||
(srfi srfi-1))
|
||||
|
||||
(define guile-ts-transform
|
||||
(options->transformation
|
||||
'((with-commit . "guile-ts=266453a"))))
|
||||
|
||||
(package
|
||||
(name "sloth")
|
||||
(version "0.1-dev")
|
||||
|
@ -58,7 +63,7 @@
|
|||
;; with inputs because DRY
|
||||
(list #$guile-config
|
||||
#$guile-ncurses
|
||||
#$guile-ts)))))
|
||||
#$(guile-ts-transform guile-ts))))))
|
||||
(define bin (string-append #$output "/bin/"))
|
||||
(define site (guile-uncompiled-dir #$output ""))
|
||||
(define version (caddr (scandir site)))
|
||||
|
@ -120,7 +125,7 @@
|
|||
(inputs (list guile-3.0
|
||||
guile-config
|
||||
guile-ncurses
|
||||
guile-ts
|
||||
(guile-ts-transform guile-ts)
|
||||
tree-sitter-bash
|
||||
tree-sitter-bibtex
|
||||
tree-sitter-c
|
||||
|
|
Loading…
Reference in a new issue