Use commit of guile-ts supporting TREE_SITTER_GRAMMAR_PATH

This commit is contained in:
Skylar Hill 2023-11-04 18:05:57 -05:00
parent 57ce73370d
commit eff0f10911

View file

@ -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