mirror of
https://github.com/hercules-ci/flake-parts.git
synced 2024-12-14 11:47:31 +00:00
docs(README): add examples and projects
This commit is contained in:
parent
a530cce721
commit
fa681367b3
1 changed files with 15 additions and 3 deletions
18
README.md
18
README.md
|
@ -3,12 +3,12 @@
|
|||
|
||||
_Core of a distributed framework for writing Nix Flakes._
|
||||
|
||||
`flake-parts` provides the options that represent standard flake attributes
|
||||
`flake-parts` provides the options that represent standard flake attributes
|
||||
and establishes a way of working with `system`.
|
||||
Opinionated features are provided by an ecosystem of modules that you can import.
|
||||
|
||||
`flake-parts` _itself_ has the goal to be a minimal mirror of the Nix flake schema.
|
||||
Used by itself, it is very lightweight.
|
||||
Used by itself, it is very lightweight.
|
||||
|
||||
# Why Modules?
|
||||
|
||||
|
@ -71,10 +71,22 @@ then slide `mkFlake` between your outputs function head and body,
|
|||
|
||||
Now you can add the remaining module attributes like in the [the template](./template/default/flake.nix).
|
||||
|
||||
# Example
|
||||
# Templates
|
||||
|
||||
See [the template](./template/default/flake.nix).
|
||||
|
||||
# Examples
|
||||
|
||||
See the folder [examples/](./examples).
|
||||
|
||||
# Projects using flake-parts
|
||||
|
||||
- [nixd](https://github.com/nix-community/nixd/blob/main/flake.nix) (c++)
|
||||
- [hyperswitch](https://github.com/juspay/hyperswitch/blob/main/flake.nix) (rust)
|
||||
- [argo-workflows](https://github.com/argoproj/argo-workflows/blob/master/dev/nix/flake.nix) (go)
|
||||
- [nlp-service](https://github.com/recap-utr/nlp-service/blob/main/flake.nix) (python)
|
||||
- [emanote](https://github.com/srid/emanote/blob/master/flake.nix) (haskell)
|
||||
|
||||
# Options Reference
|
||||
|
||||
See [flake.parts options](https://flake.parts/options/flake-parts.html)
|
||||
|
|
Loading…
Reference in a new issue