From 86be0ea4eeba73173e30fc44ad53b30ebd939de9 Mon Sep 17 00:00:00 2001 From: Danila Danko Date: Thu, 4 Jan 2024 16:48:35 +0300 Subject: [PATCH] fix: use only mdbook, filesets --- docs/default.nix | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/docs/default.nix b/docs/default.nix index 0380e89f..755bddde 100644 --- a/docs/default.nix +++ b/docs/default.nix @@ -2,20 +2,19 @@ , modules-docs , stdenv , lib -, mdbook-pagetoc }: with lib; stdenv.mkDerivation { name = "devshell-docs"; - buildInputs = [ mdbook mdbook-pagetoc ]; + buildInputs = [ mdbook ]; src = let fs = lib.fileset; in fs.toSource { root = ./.; fileset = fs.unions [ - (fs.fileFilter (file: file.hasExt "md") ./.) + (fs.fileFilter (file: file.hasExt "md") ./src) + (fs.fileFilter (file: true) ./theme) ./book.toml - ./theme/pagetoc-tweaks.css ]; };