diff options
| author | Akshay Nair <phenax5@gmail.com> | 2024-12-24 18:51:17 +0530 |
|---|---|---|
| committer | Akshay Nair <phenax5@gmail.com> | 2024-12-24 18:51:17 +0530 |
| commit | 70e3920556496e5fecb5fedddf1067b2522fcac7 (patch) | |
| tree | 7e4e88023bdcd5b13dde738f7afedd533a6d7fcd /flake.nix | |
| parent | dfdf1600ba251f6b3cfef85f6904d79a1c60b49d (diff) | |
| download | chelleport-70e3920556496e5fecb5fedddf1067b2522fcac7.tar.gz chelleport-70e3920556496e5fecb5fedddf1067b2522fcac7.zip | |
Add setup for ocr with tesseract
Diffstat (limited to '')
| -rw-r--r-- | flake.nix | 19 |
1 files changed, 15 insertions, 4 deletions
@@ -19,6 +19,8 @@ ./bin ./src ./specs + ./include + ./cpp ./chelleport.cabal ]; }); @@ -33,6 +35,18 @@ xorg.libX11 SDL2 SDL2_ttf + tesseract + leptonica + imagemagick + + gcc + pkg-config + ]; + + devPackages = with pkgs; [ + just + nodemon + clang-tools ]; in { haskellProjects.default = { @@ -69,10 +83,7 @@ inputsFrom = [ config.haskellProjects.default.outputs.devShell ]; - packages = with pkgs; [ - just - nodemon - ]; + packages = devPackages; inherit buildInputs; LD_LIBRARY_PATH = "${pkgs.lib.makeLibraryPath buildInputs}"; |
