guix_mirror_bot pushed a commit to branch ocaml-team
in repository guix.
commit 118f86f4d3a44d4ff51efbfaf5b299ed34a96262
Author: Jason Conroy <[email protected]>
AuthorDate: Thu Feb 12 10:51:59 2026 -0500
gnu: ocaml5: Add ocaml-index.
* gnu/packages/ocaml5.scm (ocaml-index): New variable.
Change-Id: I6746d1c6266b6c25ec98121b4a7ce3057272b723
Signed-off-by: Julien Lepiller <[email protected]>
---
gnu/packages/ocaml5.scm | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/gnu/packages/ocaml5.scm b/gnu/packages/ocaml5.scm
index 336495442a..dd2bf52b48 100644
--- a/gnu/packages/ocaml5.scm
+++ b/gnu/packages/ocaml5.scm
@@ -3021,6 +3021,18 @@ etc.")
'(#:package "merlin-lib"))
(propagated-inputs (list ocaml-alcotest ocaml-csexp ocaml-menhir))))
+(define-public ocaml-index
+ (package
+ (inherit %ocaml-merlin-base)
+ (name "ocaml5-index")
+ (arguments
+ '(#:package "ocaml-index"))
+ (propagated-inputs (list ocaml-merlin-lib))
+ (synopsis "Produces indicies for value occurrences in cmt files")
+ (description
+ "This package integrates with the build system to index a codebase and
allow
+tools such as Merlin to perform project-wide occurrences queries.")))
+
;;;
;;; Avoid adding new packages to the end of this file. To reduce the chances
;;; of a merge conflict, place them above by existing packages with similar