mirror of
https://github.com/FliegendeWurst/ripgrep-all.git
synced 2024-11-24 04:14:57 +00:00
Include JSONC file when building via Nix
This commit is contained in:
parent
5fa777605d
commit
096ebc9b53
@ -39,7 +39,12 @@
|
||||
inherit (pkgs) lib;
|
||||
|
||||
craneLib = crane.lib.${system};
|
||||
src = craneLib.cleanCargoSource ./.;
|
||||
src = pkgs.lib.cleanSourceWith {
|
||||
src = craneLib.path ./.; # original, unfiltered source
|
||||
filter = path: type:
|
||||
(builtins.match ".*jsonc$" path != null) # include JSONC files
|
||||
|| (craneLib.filterCargoSources path type);
|
||||
};
|
||||
|
||||
buildInputs = with pkgs;
|
||||
[ ffmpeg imagemagick pandoc poppler_utils ripgrep tesseract ]
|
||||
|
Loading…
Reference in New Issue
Block a user