about summary refs log tree commit diff
path: root/pkgs/applications/office/paperless-ngx
diff options
context:
space:
mode:
authorAtemu <atemu.main@gmail.com>2024-02-01 16:59:28 +0100
committerGitHub <noreply@github.com>2024-02-01 16:59:28 +0100
commitf38bca1ca559974b36863d0ff4bb710b7bc12890 (patch)
tree8950996221b92d6b810467d23b8d44432cb21210 /pkgs/applications/office/paperless-ngx
parent2f61aff9ae76490380452d78a722ace1e71c5976 (diff)
parent6300f478e9d9a9a0f0d66004e50e67a107f9cea3 (diff)
Merge pull request #279677 from leona-ya/paperless-nltk
nixos/paperless: use nltk_data package as NLTK data source 
Diffstat (limited to 'pkgs/applications/office/paperless-ngx')
-rw-r--r--pkgs/applications/office/paperless-ngx/default.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/applications/office/paperless-ngx/default.nix b/pkgs/applications/office/paperless-ngx/default.nix
index afe241222068a..94b4ac77b68a7 100644
--- a/pkgs/applications/office/paperless-ngx/default.nix
+++ b/pkgs/applications/office/paperless-ngx/default.nix
@@ -18,6 +18,7 @@
 , xcbuild
 , pango
 , pkg-config
+, nltk-data
 }:
 
 let
@@ -293,6 +294,7 @@ python.pkgs.buildPythonApplication rec {
 
   passthru = {
     inherit python path frontend;
+    nltkData = with nltk-data; [ punkt snowball_data stopwords ];
     tests = { inherit (nixosTests) paperless; };
   };