diff options
Diffstat (limited to 'pkgs/development/python-modules/spacy/annotation-test/default.nix')
-rw-r--r-- | pkgs/development/python-modules/spacy/annotation-test/default.nix | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/spacy/annotation-test/default.nix b/pkgs/development/python-modules/spacy/annotation-test/default.nix index 02aad304a1e68..cb8a97aa568fc 100644 --- a/pkgs/development/python-modules/spacy/annotation-test/default.nix +++ b/pkgs/development/python-modules/spacy/annotation-test/default.nix @@ -1,4 +1,5 @@ { + lib, stdenv, pytest, spacy-models, @@ -7,7 +8,12 @@ stdenv.mkDerivation { name = "spacy-annotation-test"; - src = ./.; + src = lib.fileset.toSource { + root = ./.; + fileset = lib.fileset.unions [ + ./annotate.py + ]; + }; dontConfigure = true; dontBuild = true; |