overrides/python: Adds qt support for opencv

This commit is contained in:
purepani 2024-03-27 17:55:57 -05:00 committed by DavHau
parent aeed2baa96
commit e22815e5f1

View File

@ -5,16 +5,23 @@
}: {
# TODO: supply more of the dependencies instead of ignoring them
env.autoPatchelfIgnoreMissingDeps = true;
mkDerivation.buildInputs = [
config.deps.libglvnd
config.deps.glib
];
mkDerivation = {
buildInputs = [
config.deps.libglvnd
config.deps.glib
config.deps.qt6Packages.qtbase
];
nativeBuildInputs = [
config.deps.qt6Packages.wrapQtAppsHook
];
};
deps = {nixpkgs, ...}:
lib.mapAttrs (_: lib.mkDefault) {
inherit
(nixpkgs)
libglvnd
glib
qt6Packages
;
};
}