Add option for defining flake-parts modules for downstream flakes.

This commit is contained in:
Shea Levy 2022-10-16 16:07:14 -04:00
parent 98bec08c58
commit f3c79bef3b
No known key found for this signature in database
GPG key ID: 5C0BD6957D86FE27
4 changed files with 80 additions and 1 deletions

View file

@ -1,3 +1,10 @@
# 2022-12-25
- Added a new `flake.flakeModules` option so a flake can expose a module
to be used in a downstream flake's flake-parts usage. `.flakeModule` is
now an alias for `.flakeModules.default`.
Option only available if `flake-parts.flakeModules.flakeModules` is imported.
# 2022-12-17
@ -30,7 +37,7 @@
- The `nixpkgs` input has been renamed to `nixpkgs-lib` to signify that the
only dependency is on the `lib` attribute, which can be provided by either
the `nixpkgs?dir=lib` subflake or by the `nixpkgs` flake itself.
- The templates now use the default, _fixed_ `nixpkgs?dir=lib` dependency instead
of a _following_ `nixpkgs` dependency.