Add ChangeLog
This commit is contained in:
parent
3ee82a16d6
commit
44c642cad6
2 changed files with 33 additions and 0 deletions
29
ChangeLog.md
Normal file
29
ChangeLog.md
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
|
||||
# 2022-05-25
|
||||
|
||||
- `perSystem` is not a `functionTo submodule` anymore, but a `deferredModule`,
|
||||
which is a lot like a regular submodule, but possible to invoke multiple
|
||||
times, for each `system`.
|
||||
|
||||
All `perSystem` value definitions must remove the `system: ` argument.
|
||||
If you need `system` to be in scope, use the one in the module arguments.
|
||||
|
||||
```diff
|
||||
-perSystem = system: { config, lib, ... }:
|
||||
+perSystem = { config, lib, system, ... }:
|
||||
```
|
||||
|
||||
All `perSystem` option declarations must now use `flake-parts-lib.mkPerSystemOption`.
|
||||
|
||||
```nix
|
||||
{
|
||||
options.perSystem = mkPerSystemOption ({ config, ... }: {
|
||||
options = {
|
||||
# ...
|
||||
};
|
||||
# ...
|
||||
});
|
||||
}
|
||||
```
|
||||
|
||||
- `flake-modules-core` is now called `flake-parts`.
|
||||
|
|
@ -37,6 +37,10 @@
|
|||
<a href="./options.html">Options Reference</a>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<a href="https://github.com/hercules-ci/flake-parts/blob/main/ChangeLog.md">ChangeLog</a>
|
||||
</p>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue