From 05ec4d311629eec6d734161096693f05f39b0725 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jalil=20David=20Salam=C3=A9=20Messina?= Date: Sun, 15 Dec 2024 13:40:18 +0100 Subject: [PATCH] refactor(docs): rename markdown packages This makes the size report look better as the docs are grouped together. --- flake-modules/docs.nix | 26 +++++++++++++++++--------- 1 file changed, 17 insertions(+), 9 deletions(-) diff --git a/flake-modules/docs.nix b/flake-modules/docs.nix index bcd9fbe..c5717a6 100644 --- a/flake-modules/docs.nix +++ b/flake-modules/docs.nix @@ -3,14 +3,22 @@ perSystem = { pkgs, ... }: { - packages = { - # Documentation - inherit (import ../docs { inherit pkgs lib; }) - docs - nixos-markdown - nvim-markdown - home-markdown - ; - }; + packages = + let + docs-pkg = import ../docs { inherit pkgs lib; }; + inherit (docs-pkg) + docs + home-markdown + nixos-markdown + nvim-markdown + ; + in + { + # Documentation + inherit docs; + docs-home-markdown = home-markdown; + docs-nixos-markdown = nixos-markdown; + docs-nvim-markdown = nvim-markdown; + }; }; }