overrides/python: init opencv-python

This commit is contained in:
DavHau 2024-03-17 15:57:08 +07:00 committed by mergify[bot]
parent 87c725e8db
commit 1e50686303

View File

@ -0,0 +1,20 @@
{
config,
lib,
...
}: {
# TODO: supply more of the dependencies instead of ignoring them
env.autoPatchelfIgnoreMissingDeps = true;
mkDerivation.buildInputs = [
config.deps.libglvnd
config.deps.glib
];
deps = {nixpkgs, ...}:
lib.mapAttrs (_: lib.mkDefault) {
inherit
(nixpkgs)
libglvnd
glib
;
};
}