Add docs to nix src (#3537)

This commit is contained in:
Shogo Takata 2024-03-03 23:48:51 +09:00 committed by GitHub
parent f5a2a9a9a6
commit 4f1d97253d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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''
];