dream2nix/overrides/python/opencv-python/default.nix

28 lines
521 B
Nix

{
config,
lib,
...
}: {
# TODO: supply more of the dependencies instead of ignoring them
env.autoPatchelfIgnoreMissingDeps = true;
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
;
};
}