Skip to content

Commit

Permalink
fix(cleanTypstSource): take baseNameOf path to match typst.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
xhalo32 authored and loqusion committed Jul 13, 2024
1 parent 842ed31 commit b4c38bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/cleanTypstSource.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ lib.cleanSourceWith {
src = lib.cleanSource src;
filter = path: type: let
isTypstSource = lib.hasSuffix ".typ" path;
isSpecialFile = builtins.elem path [
isSpecialFile = builtins.elem (builtins.baseNameOf path) [
"typst.toml"
];
in
Expand Down

0 comments on commit b4c38bc

Please sign in to comment.