hercules-ci / flake-parts

❄️ Simplify Nix Flakes with the module system
https://flake.parts
MIT License
721 stars 41 forks source link

Add more docs #171

Closed woile closed 1 year ago

woile commented 1 year ago

This PR adds the following:

170

woile commented 1 year ago

Thanks for all the awesome feedback, I've updated the PR!

woile commented 1 year ago

Added another very easy example with mission-control.

woile commented 1 year ago

Everything updated 🚀

roberth commented 1 year ago

bors r+

bors[bot] commented 1 year ago

Build succeeded!

The publicly hosted instance of bors-ng is deprecated and will go away soon.

If you want to self-host your own instance, instructions are here. For more help, visit the forum.

If you want to switch to GitHub's built-in merge queue, visit their help page.

roberth commented 1 year ago

Thank you @woile!

woile commented 1 year ago

No problem, I'll send more PR's as I come up with working snippets, and I'll try to add more tutorials to the website. Any idea if it's possible to show snippets from the examples/ folder into the website? I want to use mdbook snippets but there are 2 different repos.

roberth commented 1 year ago

We could change flake.parts-website to copy them in using the flake-parts flake input's outPath ie cp -r ${inputs.flake-parts}/examples ./somewhere. It auto updates twice a day and you can use nix build --override-input flake-parts ./flake-parts ./flake.parts-website to build locally.