Skip to content

Commit 020c1da

Browse files
committed
python3Packages.type-infer: pkgs.symlinkJoin -> python3Packages.nltk.dataDir
1 parent 8aa49da commit 020c1da

File tree

1 file changed

+5
-10
lines changed

1 file changed

+5
-10
lines changed

pkgs/development/python-modules/type-infer/default.nix

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,13 @@
1616
python-dateutil,
1717
scipy,
1818
toml,
19-
nltk-data,
20-
symlinkJoin,
2119
}:
2220
let
23-
testNltkData = symlinkJoin {
24-
name = "nltk-test-data";
25-
paths = [
26-
nltk-data.punkt
27-
nltk-data.punkt-tab
28-
nltk-data.stopwords
29-
];
30-
};
21+
testNltkData = nltk.dataDir (d: [
22+
d.punkt
23+
d.punkt-tab
24+
d.stopwords
25+
]);
3126

3227
version = "0.0.21";
3328
tag = "v${version}";

0 commit comments

Comments
 (0)