mirror of
https://github.com/nix-community/dream2nix.git
synced 2024-11-22 06:32:21 +03:00
overrides/python: Adds qt support for opencv
This commit is contained in:
parent
aeed2baa96
commit
e22815e5f1
@ -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
|
||||
;
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user