opencv3: pythonPackages can be missing

when we do not need Python (default)
This commit is contained in:
Frederik Rietdijk 2021-03-25 11:18:05 +01:00
parent 4436ac1056
commit 137fb57d98

View File

@ -18,7 +18,7 @@
, enableUnfree ? false
, enableIpp ? false
, enablePython ? false, pythonPackages
, enablePython ? false, pythonPackages ? null
, enableGtk2 ? false, gtk2
, enableGtk3 ? false, gtk3
, enableVtk ? false, vtk
@ -36,6 +36,8 @@
assert blas.implementation == "openblas" && lapack.implementation == "openblas";
assert enablePython -> pythonPackages != null;
let
version = "3.4.8";