mirror of
https://github.com/hercules-ci/flake-parts.git
synced 2024-12-14 11:47:31 +00:00
Merge pull request #151 from hercules-ci/flakeModules-doc
flakeModules: Improve doc
This commit is contained in:
commit
006c75898c
1 changed files with 6 additions and 4 deletions
|
@ -22,11 +22,13 @@ let
|
||||||
description = ''
|
description = ''
|
||||||
flake-parts modules for use by other flakes.
|
flake-parts modules for use by other flakes.
|
||||||
|
|
||||||
If the flake defines only one module, it should be flakeModules.default.
|
If the flake defines only one module, it should be `flakeModules.default`.
|
||||||
|
|
||||||
You can not use this option in defining the flake's own `imports`. Instead, you can
|
You can not read this option in defining the flake's own `imports`. Instead, you can
|
||||||
put the module in question into its own file and reference it both in `imports` and
|
put the module in question into its own file or let binding and reference
|
||||||
export it with this option.
|
it both in `imports` and export it with this option.
|
||||||
|
|
||||||
|
See [Dogfood a Reusable Module](../dogfood-a-reusable-module.md) for details and an example.
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
|
|
Loading…
Reference in a new issue