NixLabConnectionconnecting
CommitsCommit
package-sets/haskell/horizon-dependent · commit

Generate the README from a documentation module

SmSmartypants, 2026-11-28 23:07f5da7bb846#3 · 6/6

parents: 84b6e1fa90

Generate the README from a documentation module

2 files changed

Diff

 README.md             | 20 ++++++++++++++++++++
 nix/documentation.nix | 25 +++++++++++++++++++++++++
 2 files changed, 45 insertions(+)

diff --git a/README.md b/README.md
new file mode 100644
index 0000000..95509c8
--- /dev/null
+++ b/README.md
@@ -0,0 +1,20 @@
+# horizon-dependent
+ 
+<!-- Generated by horizon-flake-parts' readme module. Do not edit. -->
+ 
+Dependent Haskell: the TharkunAB GHC 10.1 fork with -XDependentTypes, dependent-base and its proof plugins.
+ 
+## Package set policy
+ 
+horizon-dependent tracks Dependent Haskell, the TharkunAB GHC 10.1 fork with `-XDependentTypes`.
+It builds on horizon-build-packages, which supplies the compiler and build tools.
+ 
+The set provides dependent-base, dependent-proof-search and dependent-obs-eq.
+Upstream has published no releases, so each is pinned by commit and the set declares stage Disgusting.
+Profiling is off because the fork refuses it on dependent Core.
+ 
+The `assurances` check verifies that the roots declared in [horizon.vx](horizon.vx) resolve in `legacyPackages`.
+Worked examples are in [dependent-nixlab-examples](https://nixlab.openfp.net/horizon/dependent-nixlab-examples).
+ 
+Pin an immutable `snapshots/<branch>/<N>` tag. Snapshot numbers increase separately on each branch.
+ 
diff --git a/nix/documentation.nix b/nix/documentation.nix
new file mode 100644
index 0000000..531e7b1
--- /dev/null
+++ b/nix/documentation.nix
@@ -0,0 +1,25 @@
+_local: {
+  perSystem =
+    { lib, ... }:
+    {
+      readme.enable = true;
+      readme.sections = lib.mkForce [
+        {
+          heading = "Package set policy";
+          content = ''
+            horizon-dependent tracks Dependent Haskell, the TharkunAB GHC 10.1 fork with `-XDependentTypes`.
+            It builds on horizon-build-packages, which supplies the compiler and build tools.
+ 
+            The set provides dependent-base, dependent-proof-search and dependent-obs-eq.
+            Upstream has published no releases, so each is pinned by commit and the set declares stage Disgusting.
+            Profiling is off because the fork refuses it on dependent Core.
+ 
+            The `assurances` check verifies that the roots declared in [horizon.vx](horizon.vx) resolve in `legacyPackages`.
+            Worked examples are in [dependent-nixlab-examples](https://nixlab.openfp.net/horizon/dependent-nixlab-examples).
+ 
+            Pin an immutable `snapshots/<branch>/<N>` tag. Snapshot numbers increase separately on each branch.
+          '';
+        }
+      ];
+    };
+}