Doctave / doctave

A batteries-included developer documentation site generator
https://cli.doctave.com
MIT License
566 stars 32 forks source link

feat: initial add of flake for builds #47

Open abaez opened 2 years ago

abaez commented 2 years ago

Hi,

Started playing with using doctave. Been looking at stuff that I would like contribute to the project. But before then, created a quick nix flake file to make it seamlessly simple to get started on the repository without worrying about package needs or build process as time moves forward and the project grows. Nothing too fancy here, but enough to be able to set up a development environment, package for releases, docker image package generation, and a source reference to use with the larger nix ecosystem.

The following patch introduces nix flakes. Allowing the set up of using nix flakes for buildng packages in reference to the repository, idempotent reproducible development environment for ease in contributing, and the ability to create packages for multiple different targets including docker container images.