We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 279f2c0 commit 0bb5be9Copy full SHA for 0bb5be9
pkgs/by-name/un/unstructured-api/package.nix
@@ -5,8 +5,6 @@
5
python3,
6
makeWrapper,
7
nix-update-script,
8
- symlinkJoin,
9
- nltk-data,
10
}:
11
let
12
pythonEnv = python3.withPackages (
@@ -147,14 +145,10 @@ let
147
145
++ unstructured.optional-dependencies.all-docs
148
146
);
149
version = "0.0.82";
150
- unstructured_api_nltk_data = symlinkJoin {
151
- name = "unstructured_api_nltk_data";
152
-
153
- paths = [
154
- nltk-data.punkt
155
- nltk-data.averaged-perceptron-tagger
156
- ];
157
- };
+ unstructured_api_nltk_data = python3.pkgs.nltk.dataDir (d: [
+ d.punkt
+ d.averaged-perceptron-tagger
+ ]);
158
in
159
stdenvNoCC.mkDerivation {
160
pname = "unstructured-api";
0 commit comments