Skip to content

eudoxia0/ocaml-nix-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OCaml Nix Starter Project

Build status badge

A minimal OCaml project using Nix, with dependencies and unit tests.

Usage

$ nix-shell

> make
> ./hello
Hello, world!
> make test
> make clean

Using This Template

To make your own project from this template:

  1. Update dune-project to your metadata.
  2. Update lib/dune, bin/dune, and test/dune.
  3. Add any OCaml dependencies to shell.nix, dune-project, and the relevant dune files.
  4. Update binary name in Makefile and .gitignore.

License

Copyright 2023 Fernando Borretti

Released under the Apache 2.0 license.

About

OCaml starter project template using Nix for reproducibility.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published