From 44c642cad6ebfb85f760b473367a3c2837f53768 Mon Sep 17 00:00:00 2001
From: Robert Hensing
Date: Wed, 25 May 2022 18:26:05 +0200
Subject: [PATCH] Add ChangeLog
---
ChangeLog.md | 29 +++++++++++++++++++++++++++++
site/index.html | 4 ++++
2 files changed, 33 insertions(+)
create mode 100644 ChangeLog.md
diff --git a/ChangeLog.md b/ChangeLog.md
new file mode 100644
index 0000000..548f7cb
--- /dev/null
+++ b/ChangeLog.md
@@ -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`.
diff --git a/site/index.html b/site/index.html
index 2837db5..32dd855 100644
--- a/site/index.html
+++ b/site/index.html
@@ -37,6 +37,10 @@
Options Reference
+
+ ChangeLog
+
+