Skip to content

Commit

Permalink
overrides/python: Adds qt support for opencv
Browse files Browse the repository at this point in the history
  • Loading branch information
purepani authored and DavHau committed Mar 28, 2024
1 parent aeed2ba commit e22815e
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions overrides/python/opencv-python/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
;
};
}

0 comments on commit e22815e

Please sign in to comment.