From e07fc1892445a1324f9bfa93af07d2332f53494a Mon Sep 17 00:00:00 2001 From: Trolli Schmittlauch Date: Sat, 13 Oct 2018 19:38:34 +0200 Subject: [PATCH] build GUI support (GTK) for opencv --- home/config.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home/config.nix b/home/config.nix index f03d186..9aebbf9 100644 --- a/home/config.nix +++ b/home/config.nix @@ -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";})); };