From 4f1d97253d32bc486cde25ee8d1149acdee4fb5f Mon Sep 17 00:00:00 2001 From: Shogo Takata Date: Sun, 3 Mar 2024 23:48:51 +0900 Subject: [PATCH] Add docs to nix src (#3537) --- flake.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index c71873398..34df58dca 100644 --- a/flake.nix +++ b/flake.nix @@ -37,9 +37,9 @@ craneLib = crane.mkLib pkgs; # Typst files to include in the derivation. - # Here we include Rust files, assets and tests. + # Here we include Rust files, docs and tests. src = sourceByRegex ./. [ - "(assets|crates|tests)(/.*)?" + "(docs|crates|tests)(/.*)?" ''Cargo\.(toml|lock)'' ''build\.rs'' ];