backgroundremover: fix weird dependency error

Signed-off-by: lucasew <lucas59356@gmail.com>
This commit is contained in:
lucasew
2024-05-11 17:39:01 -03:00
parent 6c8398505c
commit 6adb5393fe
@@ -31,7 +31,9 @@ let
--replace 'os.path.expanduser(os.path.join("~", ".u2net", model_name + ".pth"))' "os.path.join(\"$models\", model_name + \".pth\")"
'';
nativeBuildInputs = [ p.setuptools p.wheel ];
nativeBuildInputs = [ p.setuptools p.wheel p.pythonRelaxDepsHook ];
pythonRelaxDeps = [ "torchvision" ];
propagatedBuildInputs = [
p.certifi