Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 1 KB

File metadata and controls

33 lines (22 loc) · 1 KB

dune2nix

Turn Dune-based OCaml projects into Nix derivations.

dune2nix parses Dune's lockfiles fully at Nix eval time, which gives us: no codegen, no Import From Derivation (IFD), no hardcoded hash.

Overlay

The version of Dune included in the current Nixpkgs release (25.11) has critical bugs related to lockfile handling. dune2nix provides an optional overlay that uses the latest build that address these issues. For more details, see ./nix/overlays.nix.

Demo

There is a minimal demo project that uses janestreet/core in ./tests/demo.

Copyright & License

dune2nix is authored by Anterior, based in NYC, USA.

We’re hiring! If you got this far, e-mail us at hiring+oss@anterior.com and mention this project.

The code is available under the GPLv3 license (not later).

See the LICENSE file.