diff options
author | Leona Maroni <dev@leona.is> | 2024-02-01 16:52:36 +0100 |
---|---|---|
committer | Leona Maroni <dev@leona.is> | 2024-02-01 16:53:20 +0100 |
commit | 3d195bb8598ac46b3316e9e3bff213ec020e7116 (patch) | |
tree | 62857b623f25b17d3c2fd9a98acf8d4843a6110a /pkgs/applications/office/paperless-ngx | |
parent | 74548117cdca4a1f42bfdcbe3424b6ed84d3e541 (diff) |
paperless-ngx: add passthru.nltkData
This is used in the NixOS module to build the NLTK data directory
Diffstat (limited to 'pkgs/applications/office/paperless-ngx')
-rw-r--r-- | pkgs/applications/office/paperless-ngx/default.nix | 2 |
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 ebd70eac7ea9e..12f4a51c99ef4 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; }; }; |