build GUI support (GTK) for opencv

This commit is contained in:
Trolli Schmittlauch 2018-10-13 19:38:34 +02:00
parent b625c0f502
commit e07fc18924

View file

@ -8,7 +8,7 @@ in
whitelistedLicenses = with lib.licenses; [ wtfpl ];
packageOverrides = pkgs: with pkgs; rec {
# build with debug symbols and in debug mode (less optimized)
opencvDebug = enableDebugging ((opencv3.override {enablePython=true; enableDocs=true; pythonPackages=pkgs.python3Packages; }).overrideAttrs (oldAttrs: rec {cmakeBuildType = "Debug";}));
opencvDebug = enableDebugging ((opencv3.override {enablePython=true; enableGtk3=true; enableDocs=true; pythonPackages=pkgs.python3Packages; }).overrideAttrs (oldAttrs: rec {cmakeBuildType = "Debug";}));
};