Skip to content
This repository has been archived by the owner on Jun 28, 2024. It is now read-only.
/ grpc-ocaml Public archive
generated from Nymphium/ocaml-nix-template

gRPC-Core wrapper for OCaml

License

Notifications You must be signed in to change notification settings

Nymphium/grpc-ocaml

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OCaml + Nix template

Concepts

Setup reproducable and lightweight OCaml dev environment with opam2nix.

This template provides OCaml-LSP and ocamlformat for development.

Setup & Run

Use direnv and dune exec it-is-test, or run nix-shell --run "dune exec it-is-test"

Add Packages

  1. add pkg to depends (or depexts) in test.opam,
  2. add pkg to testPackages in nix/default.nix if it is for test,
  3. run nix-shell default.nix -A resolve,
  4. reload shell.