python312Packages.spacy-transformers: clean source for annotation test

This commit is contained in:
Martin Weinelt
2024-06-15 02:20:47 +02:00
parent 6d9600d379
commit 803ca835fb
@@ -1,4 +1,5 @@
{
lib,
stdenv,
pytest,
spacy-models,
@@ -7,7 +8,12 @@
stdenv.mkDerivation {
name = "spacy-transformers-annotation-test";
src = ./.;
src = lib.fileset.toSource {
root = ./.;
fileset = lib.fileset.unions [
./annotate.py
];
};
dontConfigure = true;
dontBuild = true;