Skip to content

d4hines/nix-templates

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nix-templates

Templates to quickly bootstrap a repo with nix flakes.

OCaml

To get started in a existing repo:

nix flake init --template github:d4hines/nix-templates#ocaml

To bootstrap a new repo run:

nix flake new nix-ocaml-example -t github:d4hines/nix-templates#ocaml

We're using the OCaml overlays repo by @anmonteiro to get some of the latest and greatest that hasn't yet made it to nixpkgs. There is also excellent support for static compilation.

In ./nix/generic.nix you'll specify how to build your project and the dependencies you have. Note that you need to change the name (currently set to service) to reflect the actual name of what you're building.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Nix 59.1%
  • TypeScript 38.5%
  • OCaml 2.4%