From 77989c39282d5d0369c28a814f8c3228759e245c Mon Sep 17 00:00:00 2001 From: Sridhar Ratnakumar Date: Fri, 11 Oct 2024 10:53:11 -0400 Subject: [PATCH] Skel --- en/nixify-haskell-parts.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/en/nixify-haskell-parts.md b/en/nixify-haskell-parts.md index 4b9299e9..a85e1b58 100644 --- a/en/nixify-haskell-parts.md +++ b/en/nixify-haskell-parts.md @@ -6,3 +6,12 @@ short-title: 2. Using flake-parts >[!warning] TODO: Write this! > For now, see the code: https://github.com/juspay/todo-app/pull/9 + +Things to highlight: + +- [[flake-parts]] can be used as lightweight as `forAllSystems` alternative +- allows us to split top-level flake.nix into small .nix files +- allows us to define [[nix-modules|our own modules]] and use them (just like [[nixos]] options) +- nuts and bolts: + - perSystem, and its args (`self'`, etc.) + - `debug` option and inspecting in repl